Does printf() statement can generate only one line of output?

1 answer

Answer

1272876

2026-08-19 20:30

+ Follow

No, the printf() statement in C can generate multiple lines of output. You can include newline characters (\n) within the string to create line breaks, allowing for formatted output across multiple lines. Additionally, you can call printf() multiple times to print different lines.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.