Nguyễn Hào
New member
What will be the output of the following C code?
A. h e
B. l l
C. l o
D. l e
Code:
#include <stdio.h>
void main()
{
char *s= "hello";
char *p = s;
printf("%c\t%c", *(p + 3), s[1]);
}
B. l l
C. l o
D. l e