What will be the output of the following C code? [code] #include <stdio.h> int main() { register const int i = 10;

Thảo Justin

New member
What will be the output of the following C code?
Code:
    #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
 

Tìm kiếm

Back
Top