What is the precedence in the printf statement? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 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