Category Archives: Campus Preparation

Question for Campus Preparation

What will be the output ? #include<stdio.h> int main() { int x=5; if(x>3>2) printf(“Hello %d”,x); else printf(“Hi %d”,x); } ANS:  Hi 5 Explanation:  Here inside if we have written x>3>2 i.e 5>3>2  .In it 2 operators are there and both … Continue reading

Posted in Campus Preparation | Tagged , , , , | Leave a comment