Home » C Programming » Variables » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    auto R = 110;
    const auto int *ptr = &R;
    printf("%d\n", R);
    }
    1. Compilation Error
    2. Garbage value
    3. Depends on the compiler
    4. Depends on the standard
    5. 110
Correct Option: E

110



Your comments will be displayed only after manual approval.