Vidyalelo
C Programming · Q108

C Fundamentals

Programming · C Programming · question 108

Q108

What will be the output of the following C code? #include int main() int a = 10; double b = 5.6; int c; c = a + b; printf("%d", c);

A.
15
Answer
B.
16
C.
15.6
D.
10

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board