On 1 Dec 2005 19:56:14 -0800, "Senthil" <s.senthilvel@gmail.com> wrote
in comp.lang.c++:
[color=blue]
> Thanks Pete and Artie!!!
>
> I read books and i read the standard..but i am still not able to
> understand what a sequence point is ?
> :(
>
> Greetings,
> Senthil[/color]
Sequence points:
1. The ';' at the end of a full expression.
2. The comma operator (but the commas that separate arguments in a
function call are NOT comma operators).
3. At the '?' in the ternary expression.
4. During a function call, after all the arguments are evaluated,
before the function begins executing.
5. When a function ends/returns or exits by throwing an exception.
6. At the evaluation of a && or || logical operator.
7. At the initialization of each base and member in a constructor
with an initialization list.
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html