Sunday, March 13, 2011

Pre and Post increment test

# include <stdio.h>
# include <stdlib.h>

int main()
{
int x=8;
x-=--x-x--;
printf("%d\n",x);


return 0;
}

OUTPUT:
6
Press any key to continue . . .

No comments:

Post a Comment