Re: return value makes me sad.
- From: "Hubble" <reiner@xxxxxxxxx>
- Date: 2 Dec 2005 05:42:24 -0800
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.
.
- Follow-Ups:
- Re: return value makes me sad.
- From: Maurizio Loreti
- Re: return value makes me sad.
- References:
- return value makes me sad.
- From: Mr.Babo
- return value makes me sad.
- Prev by Date: Re: PIC code questions
- Next by Date: Re: return value makes me sad.
- Previous by thread: Re: return value makes me sad.
- Next by thread: Re: return value makes me sad.
- Index(es):
Relevant Pages
|