0
#include<stdio.h>
int main()
{
int y=0;
int z;
z=(--y)+(y=20);
printf("%d",z);
return 0;
}

Why is the precedence considered from right to left in spite of parentheses?

  • 3
    Almost nothing of your example has anything to do with operator precedence. Check out [What is the difference between operator precedence and order of evaluation?](https://software.codidact.com/posts/278172) – Lundin Apr 14 '22 at 11:30

0 Answers0