+ 1
Whats the difference between printf and cout
cout and printf
6 Respostas
+ 2
Yacine Kchaou printf is function which can be used both in c and c++
cout is object which can be used only in c++
printf requires type specifier like %d %c etc where as cout does not require type specifier
0
one of them is that printf needs a newline for automatic flushing.
0
i am a beginner and i am really confused between both
0
Yacine Kchaou it's very generalized to say confused between both... there are two answer you got and kindly go through same... again if you are confuse, feel free to specify your confusion rather than simply saying generalized words...this may help others to help you clear your confusion..
0
ketan lalcheta i ve just told you that i am still a beginner and i wanna know the difference betwenn them and if they do the same things when outputing data
- 1
even google is so complicated when i search about the difference between both of the functions