Nguyễn Việt Thắng
New member
What will be the output of the following C code?
A. hello
B. Varies
C. this
D. Compile time error
Code:
#include <stdio.h>
void main()
{
char *a[3] = {"hello", "this"};
printf("%s", a[1]);
}
B. Varies
C. this
D. Compile time error