HOME | LAB PROGRAMMING | RATIONAL ROSE DIAGRAM | COMPUTE GRAPHICS | CLASS DIAGRAM | NETWORK PROGRAMING | BEST OF THE SITE

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.

0 comments: