Examveda

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

A. hello

B. Varies

C. this

D. Compile time error

Answer: Option C


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union