0

Why there is no printf. What is this cout

Printf("etc") is not used. I s there difference in cet and c++

20th Aug 2017, 4:30 PM
Pooja K. P
Pooja K. P - avatar
2 Answers
+ 7
printf() is a function from <stdio.h> / <cstdio>. cout is an object of ostream provided by <iostream>. More: https://stackoverflow.com/questions/2872543/printf-vs-cout-in-c
20th Aug 2017, 6:52 PM
Hatsy Rei
Hatsy Rei - avatar