Q:

Guess the output #include int main() { int x = 1, y = 0, z = 3; x > y ? printf("%d", z) : return z; }

0

Guess the output

#include int main() { int x = 1, y = 0, z = 3; x > y ? printf("%d", z) : return z; }


  1. Output : 3
  2. Runtime error
  3. Compile time error
  4. Output : 1

All Answers

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

Correct Answer:

Compile time error

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