What will be the output of the following program on GCC compiler?

Loading

โœช Choose the correct option.

What will be the output of the following program on GCC compiler?

#include  
#define CUBE(x) (x*x*x)
int main() {
int a, b=3;
a = CUBE(b++);
printf("%d, %d ", a, b);
return 0;
}

A. 120,6
B. 27,4
C. 27,27
D. 3,3

Leave a Comment