int x; x= (char *)(&x+1)-(char *)(&x);

August 16, 2011 at 10:02:13
Specs: Linux i686
find value of x.

See More: int x; x= (char *)(&x+1)-(char *)(&x);

Report •

August 16, 2011 at 11:34:06
I'd say the answer to that depends upon the compiler you use. If you can give me a convincing reason for asking the question then I'll do my best to answer. But I suspect that it's homework, as I can't think how you would come up with such a question. I don't do homework.

Report •
Related Solutions

Ask Question