... The first stream insertion (line 7) prints Welcome
followed by a space, and because this string did not end with \n
, the second stream insertion (line 8) begins printing on the same line immediately following the space.
Printing Multiple Lines of Text with a ...
Get C++ How to Program, 10/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.