Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
#define a 10
int main()
{
    const int a = 5;
    printf("a = %d\n", a);
}

A. a = 5

B. a = 10

C. Compilation error

D. Runtime error

Answer: Option C


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals