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 vcredist_x86 exe?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is the difference between an MLE and an SLE?
Do I need microsoft visual c++?
What is iunknown? Explain some of commonly used methods provided by iunknown.
Can I remove microsoft visual c++?
What is the difference between turbo c++ and visual c++?
What is microsoft visual c++ runtime library error?
Is microsoft visual c++ important?
Is it ok to uninstall microsoft visual c++?
Where can I find microsoft visual c++ on my computer?
How do I create an mfc application in vc++?
How do I uninstall and reinstall microsoft visual c++ runtime libraries?
What is vcredist?
Difference between getmessage, postmessage & peakmessage.