Q49
Find the output of the following program. void main() char *msg = "hi"; printf(msg);
A.
hi
AnswerB.
h
C.
hi followed by garbage value
D.
Error
E.
Garbage Value
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board