Single Choice Not Set

QWhat is the output of this C code?

#include <stdio.h>
int main()
    {
        int a = 20;
        double b = 15.6;
        int c;
        c = a + b;
        printf("%d", c);
    }

ID: #1180 Operators and Enums in C Language 3,830 views
Question Info
#1180Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 35
  • B 36
  • C 35.6
  • D 30
Correct Answer

Explanation

Option A

Share This Question

Challenge a friend or share with your study group.