0
What is the difference between cout and printf?
2 Answers
+ 2
printf is output function from C
cout is output stream used by C++
you should use cout because it's meant to be used instead of printf.
+ 1
nothing much cout is used in C++ whereas printf used in C