Q:

What is the output?#include int main() { int i = 0, j = 0; if (i && (j = i + 10)) //do something ; }

0

What is the output?

#include int main() { int i = 0, j = 0; if (i && (j = i + 10)) //do something ; }

 


  1. Output : 10
  2. Output : 0
  3. Output : 11
  4. Error

All Answers

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

Correct Answer:

Output : 11

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

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now