I have been diving deep into understanding the operator precedence in Object oriented programming. Given below is the code:
int a=5;
int b=5;
printf("Output %d",a++>b);
return 0;
The output is Output 0.
As per my understanding, unary operators has higher precedence over relational operator. So shouldn't a++>b be 6>5. Which is True. But the code outputs False. can anybody explain me why?
Thank you in advance.