Vidyalelo
C Programming · Q105

Pointer

Programming · C Programming · question 105

Q105

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

A.
Compile time error
Answer
B.
h
C.
e
D.
o

Answer: Option A

Solution

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