-
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int const m = 10;
m++;
printf("m is %d", m);
}
-
- 10
- 11
- Compilation Error
- Runtime Error
- None of these
Correct Option: D
Constant variable has to be declared and defined at the same time. Trying to change it results in an error.