Wednesday 3 July 2013

2

#include<stdio.h>
#define prod(a,b) a*b
int main () {
int x=3,y=4,z;
z=prod(3+2,y-1);
printf(":%d",z);
}
 
 
 
 
 
 
Solution: 10...but not 15,bcoz compiler'll take it as 3+2*4-1 = 10 but not same as (3+2)*(4-1)
 
Join me on Facebook