
#include "stdafx.h"
#include<conio.h>
# define PRODUCT(x)(x*x)
int _tmain(int argc, _TCHAR* argv[])
{
int i=3,j,k,l;
j=PRODUCT(i+1);
k=PRODUCT(i++);
l=PRODUCT(++i);
printf("%d %d %d %d\n",i,j,k,l);
getch();
return 0;
}
Output : 7 7 9 49
what is the the logic behind this?
I dont know the proper reason. Please explain it .