I am running the code below:
#include<stdio.h>
#define x 5+2
int main() {
int p;
p = x*x*x;
printf("%d",p);
}
I was expecting 343
as the output, but the answer is 27
. Why so? I am unable to figure it out why it's happening. Please help.