In a function call like
can we consider every ++i as a Full Expression? And if it is a full expression, it means there is a sequence point after every ++i. So, uncertainty exists only about order of evaluation of arguments and not about the side-effects of each of the ++i expressions causing Undefined behavior. I just want to know whether such function calls cause Undefined Behavior or just Unspecified Behavior. If they are undefined behaviors, please give an example for better understanding of explanation.
Thank you.
Regards,
Aftab
Code:
printf("%d,..",++i,++i,..)
Thank you.
Regards,
Aftab
Comment