Really quick: Can someone explain in the order in which to read this?
printf("%d \n", 2 > !3 && 4 - 1 != 5 || 6);
Thanks!
Really quick: Can someone explain in the order in which to read this?
printf("%d \n", 2 > !3 && 4 - 1 != 5 || 6);
Thanks!
C Precedence Table
I'd whack a few brackets in though.
Thanks for the quick response but what would be printed?
I just need someone to confirm that I'm using the precedence rules correctly.
printf("%d \n", 2 > !3 && 4 - 1 != 5 || 6);
2 > 0 && 3 != 5 || 6
1 && 1 || 6 ??
1 || 6?
so the output is "1"?