0
#define doubts
#define x 5+2 int main() { int i; cout<<x*x*x<<endl; //This gives 27 cout<<(x)*(x)*(x)<<endl; //This gives 343 why? }
2 Respuestas
+ 5
Have you tried replacing every instance of "x" with "5+2"? (hint: try that)
+ 1
Thanks. Got it
#define x 5+2 int main() { int i; cout<<x*x*x<<endl; //This gives 27 cout<<(x)*(x)*(x)<<endl; //This gives 343 why? }