Sail E0 Webinar
Question
Find the output of the following program.
void main()
{
char *msg = "hi";
printf(msg);
}
Options:
A .  hi
B .  h
C .  hi followed by garbage value
D .  Error
E .  Garbage Value
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers