sizeof is not a function. The inside content in sizeof() cannot be compiled 
during the compiling time, It will be replaced with the type. For example, 
compiler will replace the code as j = 4;  

So ++i does not execute.

 
On Aug 3, 2011, at 6:12 PM, brijesh wrote:

> main()
> {
> int i,j;
> i=10;
> j=sizeof(++i);
> printf("%d",i);
> }
> 
> please give the output with explanation!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/algogeeks?hl=en.
> 

(Steven Qin)
founder in Rfanti.com(烦题网)
Mobile: 18621588738
Office: +86-21-60832295
Rfanti / www.rfanti.com
单位: 上海阿拉丁电子商务有限责任公司
地址: 上海市宝山区淞桥东路111号联合滨江大厦1811
有问题,找烦题



-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to