#include <stdio.h>
int main()
{
int a = 1;
int b = 1;
int c = a || --b;
printf("%d %d",c,b);
}
Answer is given 1, 1 but i m having doubt in logical OR operator and uninary operator .uni operator having higher precedence then so we firstly decrement the 'b' and then perform OR by which i got output 1,0 where i m wrong plz explain.