0
What are the differences between printf and cout, similarly scanf and cin?and why?
5 ответов
+ 1
These are just different implementations. Every language may provide any amount of functionality within its standard libraries. cin & cout are C++ related. printf and scanf come from C. Since they are completely different implementations, there are many differences between them.
+ 1
What do you mean by faster??
0
Hope you know C and C++ are similar but not the same!
0
But why printf and scanf is faster than cout and cin respectively in cpp?