Re: return value makes me sad.



Note that the C reference specifies that the order of parameter
evaluation is *unspecified*. So if you code something like

a(b(), c())

nothing guarantees that a() is called before b(). If you depend on the
sequence of calling functions b and c (by using static variables etc.)
the result is unspecified.

(Note: even when using a=b()-c(), the evaluation order of b and c is
*unspecified*.

Hubble.

.



Relevant Pages

  • Re: Problem in Platform.reg
    ... > I don't know if it's a bug of CE 5.0 or I inadvertently changed somewhere ... > the Platform Builder. ... > (CE 5.0 evaluation version) ... Prev by Date: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: VS.NET Professsional
    ... > can any body suggest me where can i find the vs .net 2003 evaluation ... reformat your hard drive ... Prev by Date: ...
    (microsoft.public.cert.exam.mcsd)
  • Re: What are you lot like?
    ... >> I did my microteaching session today. ... >> evaluation and finish the case study for next week. ... Pardon me for finding the glass half full. ... Prev by Date: ...
    (uk.rec.sheds)
  • Re: qsort optimized for brevity
    ... > The eval will be really slow and the evaluation of max will crash if list is too big. ... Marc ... Prev by Date: ...
    (comp.lang.lisp)
  • Re: newbie: functions dont work in script
    ... irb automatically prints out the evaluation of an expression. ... Peter. ... Prev by Date: ...
    (comp.lang.ruby)