Q:

What is the output? #include int main() { int i = 1; if (i++ && (i == 1)) printf("Yes\n"); else printf("No\n"); }

0

What is the output?

#include int main() { int i = 1; if (i++ && (i == 1)) printf("Yes\n"); else printf("No\n"); }


  1. Depends on compiler
  2. Yes
  3. No
  4. Depends on standard

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

No

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C Programming Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Find out the Output int fun(char *str1) { char *st... >>
<< We can use relational operators as...