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);
}
#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

Join The Discussion