K
Kislay
int main()
{
int i=10;
printf("\n Size of i = %d ",sizeof(++i));
printf("\n i = %d ",i);
system("pause");
return 0;
}
On executing the above code , the value of i obtained as 10 . What
happens to the increment ? Why does not not that take place ? Has it
got something to do with the fact that sizeof is a compile-time
operator ?
{
int i=10;
printf("\n Size of i = %d ",sizeof(++i));
printf("\n i = %d ",i);
system("pause");
return 0;
}
On executing the above code , the value of i obtained as 10 . What
happens to the increment ? Why does not not that take place ? Has it
got something to do with the fact that sizeof is a compile-time
operator ?