if i is initialized to say 3, what will be the value of j, where j = ++i * ++i * ++i; on solaris using cc answer is j = 6 * 6 * 6; useing gcc answer is j = 4 * 5 * 6; but on linux (RH6.1 PCQ) j = 5 * 5 * 6; can anybody explain logic behind j's value on linux??? bye aseem -------------------------------------------------------------------- The Linux India Mailing List Archives are now available. Please search the archive at http://lists.linux-india.org/ before posting your question to avoid repetition and save bandwidth.
- [LI] mouse pointer Dr.K.S.Sangunni
- Re: [LI] mouse pointer Rohit
- Re: [LI] mouse pointer S.Krishna
- Re: [LI] j = ++i * ++i * ++i Aseem Rane
- Re: [LI] j = ++i * ++i * ++i Binand Raj S.
- Re: [LI] j = ++i * ++i * ++i Aseem Rane
- RE: [LI] j = ++i * ++i * ... Urmil Parikh
- RE: [LI] j = ++i * ++... SHRIDHAR N. DAITHANKAR
- RE: [LI] j = ++i * ++... Urmil Parikh
- Re: [LI] j = ++i * ++i * ... Rohit
- Re: [LI] j = ++i * ++i * ++i geetha
- Re: [LI] j = ++i * ++i * ++i Rohit
- Re: [LI] j = ++i * ++i * ++i Shourya Sarcar
- Re: [LI] j = ++i * ++i * ++i Arun Sharma
