New course! Every coder should learn Generative AI!
Try a free lesson- 1
Does 'cout<<' and 'printf' are similar
2 Answers
+ 2
printf is a Library function of c used for standard output but cout is object of stream class in c++
+ 1
printf is used for output in c language and cout is used for output in c++