cant we use printf and scanf?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

cant we use printf and scanf??

13th Jul 2016, 2:27 PM
Mayur Barmeda
Mayur Barmeda - avatar
2 Answers
+ 1
they are use in c but not in c++
13th Jul 2016, 2:50 PM
Kushagra Upadhyaya
Kushagra Upadhyaya - avatar
0
yes you can...it's in the stdio header file the thing is that they are part of C which is now outdated so try and adjust to C++ ...it's really ease and better and yes scanf and printf functions are more complex than cout and cin
13th Jul 2016, 3:13 PM
Vedant Patadia
Vedant Patadia - avatar