What will be the output of the following C code? [code] #include <stdio.h> void main() { char *a[3][3] = {{"hey", "hi",

Nguyễn Trà

New member
What will be the output of the following C code?
Code:
    #include <stdio.h>
    void main()
    {
        char *a[3][3] = {{"hey", "hi", "hello"}, {"his", "her", "hell"}
        , {"hellos", "hi's", "hmm"}};
        printf("%s", a[1][1]);
    }
A. her
B. hi
C. Compile time error
D. hi’s
 

Tìm kiếm

Back
Top