Hello frnz..
I'm a newbie here but not to programming.
I've got a small doubt with this porgram..
Code:
main()
{
int *ptr=(int*)malloc(sizeof(int));
*ptr=4;
printf("%d",(*ptr)+++*ptr++);
}
In this the output it shows is : 16

But due to operator sideeffect it should be 36..
am i right??
plz correct me if I'm wrong.


waiting for ur replies...

Last edited by shabbir; 8Nov2011 at 16:25.. Reason: Code blocks