Business Studies, asked by subhashini1572001, 7 months ago

include using namespace std; #define foo1( a ) (a * a) inline int foo2( int a ) { return (a * a); } inline int goo1( int x ) { return foo1(foo2(x)); } inline int goo2( int& x ) { return x = foo2(foo1(x)); } inline int goo3( int& x, int y ) { return foo2(foo1(y + 1)); } inline void goo4( int& x, int y ) { x = foo1(foo2(y + 1)); } int main() { int i = 2, j = 1; cout << "foo1 = " << foo1( 1 + 2 ) << "\n"; cout << "foo2 = " << foo2( 2 + 1 ) << "\n"; cout << "goo1 = " << goo1( i ) << "\n"; cout << "goo2 = " << goo2( j ) << "\n"; cout << "goo3 = " << goo3( i, j ) << "\n"; goo4( i, j ); cout << "i = " << i << "\nj = " << j << "\n"; return 0; }what is numerical answer for foo1? what is numerical answer for foo2? what is numerical numbergoo1? what is numerical number for goo2? what is numerical number for gooo3? what is numerical number for i, what is numerical number forj. ​

Answers

Answered by vijaytiwari94504
0

Answer:

don't know ........................................

Similar questions