I wrote this code#include<stdio.h>
void main()
{
int i,j;
i=3;
j=++i*++i*++i;
printf("%d\n",j);
}
I am getting 216 as output in windows compiler and 150 in ubuntu compiler,but I anticipated that it should be 120.
So guys plz tell me how this code is working?? and one more thing...
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.