Home » C Programming » Pointers » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    int main()
    {
    char *ch = {"I", "T", "E", "R", "V", "I", "E", "W"};
    printf("%s", ch);
    }
    1. I
    2. Garbage value
    3. Runtime Error
    4. No output
    5. None of these
Correct Option: A

I



Your comments will be displayed only after manual approval.