0
printf or cout, what's the difference?
helpme
4 ответов
+ 18
printf : C
cout : C++
+ 9
Another difference could be that printf is a function while cout is an object.
+ 7
printf is PRINT FORMAT the ASSHOLE print!
First Argument must be only char or string
The following is put the value inside the format of first parameter
cout use sign << to access to function cout easier so print with cout is a better way
Sometime printf use pointer to print.Idk the reason.
(What da heck did I just complain -_-?)
+ 5
@Saumya Heyyyy!!!
True!