Q:

Guess the output #include int main() { int a = 10; double b = 5.6; int c; c = a + b; printf("%d", c); }

0

Guess the output

#include int main() { int a = 10; double b = 5.6; int c; c = a + b; printf("%d", c); }


  1. Output :15.5
  2. Output : 15
  3. Output :16
  4. Error

All Answers

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

Correct Answer:

Output : 15

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
Can we run program without a main() function... >>
<< getch() belongs to which header file...