Single Choice Not Set

QWhat is the output of this C code?

    #include <stdio.h>
    #define a 10
    int main()
    {
        const int a = 5;
        printf("a = %d\n", a);
    }

ID: #1140 Constant in C Language 3,019 views
Question Info
#1140Q ID
Not SetDifficulty
Constant in C LanguageTopic

Choose the Best Option

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

  • A a = 5
  • B Compile Time Error
  • C Run Time Error
  • D None
Correct Answer

Explanation

Compilation Error

Share This Question

Challenge a friend or share with your study group.