Why iostream can't be used in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why iostream can't be used in C?

Why <iostream> can't be used in C? If it can be used then, we can use cout and cin in C too....

23rd Nov 2017, 5:54 AM
Koustav Dhar
Koustav Dhar - avatar
5 Answers
+ 11
bcz it is a pre- defined standard process tell me one thing why can't i call your name "boo" bcz your parents predefined your name as KOUSTAV DHAR, i have to follow your parents pre defined name to call you , and you have to type my name to call me, you can't question like that why you call me as"koustav dhar"....
23rd Nov 2017, 6:48 AM
Ankush Kumar
Ankush Kumar - avatar
+ 5
😂😂😂🤣🤣🤣
23rd Nov 2017, 6:41 AM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 4
😂😂😂that's just like why USB 2(c) can't give the speed of USB 3(c++) while USB 3 can transfer at the rate of USB 2 for USB 2 devices and USB 3 speed for USB 3 devices ...becoz it's backward compatible... that's what advanced version is introduced for.
23rd Nov 2017, 5:01 PM
🌛DT🌜
🌛DT🌜 - avatar
+ 3
C++ is the one with iostream. Not C. IOstream was introduced in C++, the upgraded version of C
23rd Nov 2017, 9:49 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
I know that we can use stdio.h in C but...my question is why we can't use iostream in C...Please anyone answer...
23rd Nov 2017, 5:59 AM
Koustav Dhar
Koustav Dhar - avatar