Write a program in c++ to call a function which will return to Cuba of a given number using inline function.
Answers
Answered by
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