By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,454 Members | 3,103 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,454 IT Pros & Developers. It's quick & easy.

What are the sequence points in a full expression?

P: n/a
---quoting---
Annex C (informative) Sequence points

1 The following are the sequence points described in 5.1.2.3:

- The end of a full expression: an initializer (6.7.8); the
expression in an expression statement (6.8.3); ...
---quoting ends---

What does a full expression exactly mean?

What are the sequence points in an initializer and in the expression in
an expression statement? Could you please make examples for these two
situations (in an initializer, and in the expression in an expression
statement)?

Oct 9 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a


On Oct 9, 11:05 pm, "lovecreatesbea...@gmail.com"
<lovecreatesbea...@gmail.comwrote:
---quoting---
Annex C (informative) Sequence points

1 The following are the sequence points described in 5.1.2.3:

- The end of a full expression: an initializer (6.7.8); the
expression in an expression statement (6.8.3); ...
---quoting ends---

What does a full expression exactly mean?

What are the sequence points in an initializer and in the expression in
an expression statement? Could you please make examples for these two
situations (in an initializer, and in the expression in an expression
statement)?
C99 6.8:
A full expression is an expression that is not part of another
expression or of a declarator.
Each of the following is a full expression: an initializer; the
expression in an expression
statement; the controlling expression of a selection statement (if or
switch); the
controlling expression of a while or do statement; each of the
(optional) expressions of
a for statement; the (optional) expression in a return statement. The
end of a full
expression is a sequence point.

Oct 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.