Vidyalelo
C Programming · Q59

Pointer

Programming · C Programming · question 59

Q59

What will be the output of the following C code? #include void main() char *s= "hello"; char *p = s; printf("%c %c", *(p + 3), s[1]);

A.
h e
B.
l l
C.
l o
D.
l e
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board