in Programming edited by
89 views
1 vote
1 vote

The output of this code snippet is :

#include <stdio.h>
#define x 4+1
int main()
{
int i;
i = x*x*x;
printf("%d",i);
return 0;
}
in Programming edited by
by
89 views

1 Answer

1 vote
1 vote
Best answer

#define x 4+1

i=x*x*x

HENCE  WE GET 

i=4+1*4+1*4+1
i=4+4+4+1   // precedence  order  * > +
i=13

ANS=13

selected by
Answer:

Related questions