Examveda
Examveda

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

A. 10

B. Compile time error

C. Undefined behaviour

D. 11

Answer: Option B


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function