Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    char *a[2] = {"hello", "hi"};
    printf("%s", *(a + 1));
    return 0;
}

A. hello

B. ello

C. hi

D. ello hi

Answer: Option C


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer