"Cout" and "cin" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

"Cout" and "cin"

does count and cin just work on c++ or work in C as well?

24th Oct 2019, 9:21 AM
aida - avatar
3 Answers
+ 2
No, they work only in c++ But if you include Stdio.h in your program (In c++)then you can indirectly use it This is because c++ is derived from C not visa versa
24th Oct 2019, 9:27 AM
Arsenic - avatar
+ 1
oh ok
24th Oct 2019, 9:31 AM
aida - avatar
They are only in C++ In C you use print or println
24th Oct 2019, 1:20 PM
Jannik Müller
Jannik Müller - avatar