What is the difference between printf() and cout in C++?
cout<< "Hello"; printf("%s", "Hello");
Both are used to print values. They have completely different syntax. C++ has both, C only has printf.