What is the difference between the cout and cin iostream
objects?
Answer Posted / farkhanda
cin and cout both are used in iostream library
cin is same as "scanf" in C and cout is same as "printf" in C
cin operator is always ">>"
and
cout operator is always "<<"
the general syntax for cout is .... cout<<variable<<variable2<<....<<variable n;
the general syntax for cin is ....
cin>>variable1>>variable2>>.....>>variable n;
Is This Answer Correct ? | 19 Yes | 6 No |
Post New Answer View All Answers
What is cmutex? How can we use it?
Do I need ms visual c++ on my computer?
What is ole? How do you handle drag and drop in ole?
How do I reinstall visual c++ on windows 10?
What is a microsoft visual c++ 2008 redistributable?
What is vcredist?
What is the difference between an MLE and an SLE?
Is visual c++ the same as c++?
Can I uninstall visual c++ 2005?
What is microsoft visual c++ runtime library error?
What is microsoft visual c++ 2015 redistributable package x64?
What is microsoft visual c++ 2013 redistributable?
What is vc++ programming?
What is microsoft visual c++ redistributable and do I need it?
How do I get rid of microsoft visual c++ runtime library error?