Home » C Programming » Pointers » Question
  1. What will be the output of the following C code?
    #include <,stdio.h>
    void main()
    {
    char *n= "KRISHANA";
    char *m = n + 3;
    printf("%c %c", *m, n[5]);
    }
    1. S A
    2. A S
    3. KRISHANA
    4. Compilation Error
    5. None of these
Correct Option: A

S A



Your comments will be displayed only after manual approval.