C output type question

Q.  Trace the output.

     #define no 5+3

int main()
{
int result;
result=no*no*no;
printf("%d",result);
return 0;
}

- Published on 17 Jun 15

a. 512
b. 38
c. Compile time error.
d. None of the above

ANSWER: 38

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)