Define function in c

#define process(x) x*x
{
int a;
a=16/process(2);
printf(“%d”,i);
}
Tutorial answer:
16
Debugging solution:
Normally you think ans is 4.but not it perform process like that
16/2*2=8*2=16.

Post a Comment

0 Comments