Q56
What will be the output of the program? #include void main() printf(5+"Good Morningn");
A.
Good Morning
B.
M
C.
Good
D.
Morning
AnswerE.
None of these
Answer: Option D
Solution
Answer: Option D
Solution:
printf(5+"Good Morning\n"); It skips the 5 characters and prints the given string.
Hence the output is "Morning".