How to use cout and cin in C language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use cout and cin in C language?

28th Mar 2017, 2:09 AM
جلال سليمان جدبان
جلال سليمان جدبان - avatar
4 Answers
+ 4
there's no cin or cout in C because the header file iostream was introduced in c++. use scanf and printf instead in the header file stdio.h
28th Mar 2017, 2:13 AM
Nikunj Arora
Nikunj Arora - avatar
0
than you
28th Mar 2017, 2:17 AM
جلال سليمان جدبان
جلال سليمان جدبان - avatar
0
np ☺
28th Mar 2017, 2:18 AM
Nikunj Arora
Nikunj Arora - avatar
0
cin and cout aren't applicable to c language because of the conflicting header statement .if using c use printf in place of cout and scanf for cin.
27th Jul 2020, 9:49 AM
Viih Paz
Viih Paz - avatar