Hoàng Diễm Quỳnh
New member
What will be the output of the following C code?
A. Run time error
B. h h
C. h e
D. h l
Code:
#include <stdio.h>
void main()
{
char *s= "hello";
char *p = s;
printf("%c\t%c", p[0], s[1]);
}
B. h h
C. h e
D. h l