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?
What is microsoft visual c++ 2015 redistributable package x64?
Is microsoft visual c++ important?
How do I uninstall visual c++?
Explain pointer to the constant and constant pointer?
What is the use of message map? Advantages of a message map.
What is the use of microsoft visual c++ 2015 redistributable?
What is cwinthread class?
Explain the important features of vc++?
What is vc++ programming?
How do I create an mfc application in vc++?
Is it ok to uninstall microsoft visual c++?
What is dao in vc ++?
Explain pointer to the constant and constant pointer? Explain difference between them.
Can I remove microsoft visual c++?