ProAnswers.org

what is the difference between cout and printf in c++?

1 Like

the very basic difference is that ,The cout is an iostream object and the printf is a function.

cout is a iostream and it prints the data we are using in c++
and printf is used in only
C