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

What will be the output of the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        char **p = {"hello", "hi", "bye"};
        printf("%s", (p)[0]);
        return 0;
    }
A. Compile time error
B. Undefined behaviour
C. hello
D. Address of hello
 

Tìm kiếm

Back
Top