Home » C Programming » Strings

What will be the output of the program? #include int main() { printf(5+"Good Morning\n"); return 0; }

Correct Answer: Morning

Explanation:

printf(5+"Good Morning\n"); It skips the 5 characters and prints the given string.


Hence the output is "Morning"


← Previous Question Next Question→

More Questions from Strings

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion