Computer Science, asked by pathakshobha300033, 11 months ago

Write a program in c++ to call a function which will return to Cuba of a given number using inline function.

Answers

Answered by varadhabala29
3

Answer:

void main()

{

int a,c;

c=cube(a);

cout<<"The cube is "<<c;

}

int cube(int a)

{

return a*a*a;

}

Similar questions