What is the precedence in the printf statement? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the precedence in the printf statement?

for example : int x=1,y=2; printf ("%d",++x+++y);

2nd Apr 2018, 3:00 PM
Pughal Ramesh
Pughal Ramesh - avatar
1 Answer
+ 7
Simply : it is compiler dependent The compiler is the only one which can decide for this kind of "precedence issue"
3rd Apr 2018, 9:19 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar