edited by
213 views

1 Answer

Best answer
2 votes
2 votes

#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

0 votes
0 votes
1 answer
1
Bikram asked May 14, 2017
375 views
Spot the error(s) in this code snippet :int n=2; // Line 1 switch(n) { case 1.5: printf( "gate"); break; case 2: printf( "overflow"); break; case 'A': printf("gateoverflo...
0 votes
0 votes
0 answers
2
Bikram asked May 14, 2017
216 views
#include <stdio.h int counter(int i) { static int count = 0; count = count + i; return count; } int main() { int i, j; for (i = 0; i <= 5; i++) j = counter(i); printf ("%...
1 votes
1 votes
1 answer
3
Bikram asked May 14, 2017
320 views
What is the output of the following program?#include <stdio.h int main() { int a = 0; switch(a) { default: a = 4; case 6: a ; case 5: a = a+1; case 1: a = a-1; } printf("...
7 votes
7 votes
2 answers
4
Bikram asked May 14, 2017
564 views
What is the output of the following code snippet? #include <stdio.h int main() { char c=125; c=c+10; printf("%d",c); return 0; }