Is printf ("% d% d", i ++, i ++) certain behavior in C ++ 17?

I saw a question about quora https://www.quora.com/What-are-the-best-features-introduced-in-C++17 about C ++ 17 best features where I read printf("%d %d", i++, i++)

no more undefined behavior in C ++ 17 .

The last second paragraph of the answer , written by Sergey Zubkov :

Oh, and the undefined behavior of printf ("% d% d", i ++, i ++) no longer works , although its behavior is undefined for i ++ + i ++.

So I have a question in my mind, is this really certain behavior in C ++ 17 ?

+3


source to share





All Articles