regarding pointer operation in a printf function call

R

Random832

2006-12-19 said:
That last phrase may not be appropriate for a beginner-aimed
explanation either.

No, but it's important to get across somehow, or people will believe
that all they have to do is (i++,i)+i++
In any case, I'm curious as to what way you think Richard's implies
the opposite of defining a partial ordering.

It doesn't say it, but it doesn't say not, either, and the idea that you
can assign sequence points numbers like 1943, 1944, etc, might be read
as thinking "ok, first, there's sequence point 1, then after that,
sequence point 2, then sequence point 3" etc etc, all in a row.
It appears to be a pretty good, if thoroughly non-technical
explanation of it to me, which seems to have been the point. (Perhaps
*I* only think I understand sequence points.)

What I meant by "people who think they understand sequence points" is
someone who thinks (i++,i)+i++ is well-defined - after all, the first
i++ is before a sequence point.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top