Home » C Programming » Variables » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    static int R;
    printf("R is %d", R);
    }
    1. Compilation Error
    2. Runtime Error
    3. Garbage value
    4. R is 0
    5. None of these
Correct Option: D

R is 0



Your comments will be displayed only after manual approval.