Find out output of the following code ..
#include<stdio.h>
#define SUM x+y+z;
main()
{
int x=7,y=6,z=4;
printf("%d",2*SUM/2);
getch();
}
Output:
22
Exp..
2*7+6+4/2=22
#include<stdio.h>
#define SUM x+y+z;
main()
{
int x=7,y=6,z=4;
printf("%d",2*SUM/2);
getch();
}
Output:
22
Exp..
2*7+6+4/2=22
No comments:
Post a Comment