Difference between printf() and cout

Hey, I’m rookie, I just started C++ courses today and I found 2 ways to print something out printf() and cout. What is the difference and why would anyone use cout option, even though it’s longer option to write?

You can find the detail in this long answer.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms