What will be the output of the following C code?
#include <stdio.h>
int main()
{
register const int i = 10;
i = 11;
printf("%d\n", i);
}
#include <stdio.h>
int main()
{
register const int i = 10;
i = 11;
printf("%d\n", i);
}
A. 10
B. Compile time error
C. Undefined behaviour
D. 11
Answer: Option B
Join The Discussion