Interview Question 3537
Created by admin on Sat, 17/11/2012 - 12:22
Explanation:
In the expression !i>14 , NOT (!) operator has more precedence than ‘ >' symbol. ! is a unary logical operator. !i (!10) is 0 (not of true is false). 0>14 is false (zero)..
Question:
main()
{
int i=10;
i=!i>14;
printf("i=%d",i);
}
Language:
Answer:
i=0