this is some thing intresting ! can any one tell why the output of this code is 8 ??
{
int a=1,b;
b = ++a + a++ + a++ + a++;
cout<<b;
}
this is some thing intresting ! can any one tell why the output of this code is 8 ??
{
int a=1,b;
b = ++a + a++ + a++ + a++;
cout<<b;
}