What is the difference between cout
and printf
?
I learned using printf
and scanf
, but in an online course I see the teacher using cout
and some pages also use cout
, but others use printf
...
Can I replace cout
with good old printf
?