Friday, 13 September 2013

Macro issue,and what may be the output?

Macro issue,and what may be the output?

#define CUBE(x)(x*x*x)
int main()
{
int a,b;
b=3;
a=CUBE(b++)/b++;
printf(a=%d b=%d\n",a,b);
return 0;
}
i have a confusion in this Macro defining statement? and i need output too?

No comments:

Post a Comment