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; }
#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
64.3k questions
77.9k answers
244k comments
80.0k users