Possible Duplicate:
Is the comma in a variable list a sequence point?
If I have the following code does the comma act as a normal sequence point, or is the behaviour undefined?
int i = 1, j = i;
I don’t actually plan to use this (our internal standard prohibits even int i, j) but I was curious and it prooved oddly tricky to google.
It’s well-defined:
8. Declarators: [dcl.decl]
And the note:
For completness (because the note says usually):