I came across a question in the book and it asked me to write the output of the following program.
#include<stdio.h>
int main()
{
int j=4;
( !j != 1 ? printf("\nWelcome") : printf("GooD Bye"));
return 0;
}
I am not able to understand basically how the Welcome is printed on running the program. Can anyone please explain with the help of hierarchy of operators and what values the compiler calculates according to the expression?