Vidyalelo
C Programming · Q290

C Fundamentals

Programming · C Programming · question 290

Q290

What will be the output of the following C code? #include int main() if (~0 == 1) printf("yes "); else printf("no ");

A.
yes
B.
no
Answer
C.
compile time error
D.
undefined

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board