[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: [LI] j = ++i * ++i * ++i



Hi


On Tue, 18 Jan 2000, Urmil Parikh wrote:

> | -----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?

I hope you mean stack created by compiler to handle postfix-prefix
expressions and not the system stack. How can you use system stack for
that?

 Bye
  Shridhar

--------------------------------------------------------------------
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.