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

Re: (part 25) Han from China answers your C questions

P: n/a
Nomen Nescio wrote:
Irrelevant sequence point (for your case) of possible interest:

"After the actions associated with each formatted
input/output format conversion specifier"

I have no idea why that would be a sequence point. Taking the
output conversions, my guess would be so that something like
%n can function. Am I right, my dear audience of 1 or 2 people?
This sequence point is there to allow you to use code like

double d;
scanf("%lf %lf", &d, &d);

without worrying about the inner workings of 'scanf' violating the
requirements of 5/4 in this case, i.e. worrying about whether internally
'scanf' will attempt to modify 'd' twice without an intervening sequence
point or not.

Best regards,
Andrey Tarasevich
Nov 17 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.