- 1

Does 'cout<<' and 'printf' are similar

2nd Nov 2016, 2:37 PM
Deepak Andagunda
Deepak Andagunda - avatar
2 ответов
+ 2
printf is a Library function of c used for standard output but cout is object of stream class in c++
2nd Nov 2016, 2:59 PM
Vipin Kumar
Vipin Kumar - avatar
+ 1
printf is used for output in c language and cout is used for output in c++
2nd Nov 2016, 3:21 PM
Vipin Kumar
Vipin Kumar - avatar