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
Difference between critical section, mutex and semaphore.
Is it ok to uninstall microsoft visual c++?
What is the use of message map? Advantages of a message map.
What is microsoft visual c++ 2010 x86 redistributable?
Is visual c++ a compiler?
What is microsoft visual c++ 2005 redistributable?
What is microsoft visual c++ 2013 redistributable package x64?
How do I uninstall and reinstall microsoft visual c++ runtime libraries?
What is cmutex?
How can we use cmutex?
How do I change visual code font?
Do I need ms visual c++ on my computer?
What is vc++ programming?
Do I need all the microsoft visual c++ redistributable?
Explain pointer to the constant and constant pointer?