[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
RE: [LI] j = ++i * ++i * ++i
| -----Original Message-----
| > > using gcc answer is
| > > j = 4 * 5 * 6;
|
| after each ++i, value of i at that time is stored somewhere (buffers???)
| so that while evaluating the expression appropiate value of i is chosen
| to give above answer.
That buffer is the stack, isn't it?
| > > but on linux (RH6.1 PCQ)
| > > j = 5 * 5 * 6;
| > > can anybody explain logic behind j's value on linux???
| >
| > And can you explain the logic behind the value of j anywhere else?
No answer till now
Regards
Urmil Parikh
--------------------------------------------------------------------
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.