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


Please Help Members By Posting Answers For Below Questions

What is vcredist_x86 exe?

612


What is microsoft visual c++ 2015 redistributable package x64?

562


Is microsoft visual c++ important?

639


How do I uninstall visual c++?

550


Explain pointer to the constant and constant pointer?

508






What is the use of message map? Advantages of a message map.

587


What is the use of microsoft visual c++ 2015 redistributable?

527


What is cwinthread class?

678


Explain the important features of vc++?

606


What is vc++ programming?

690


How do I create an mfc application in vc++?

618


Is it ok to uninstall microsoft visual c++?

596


What is dao in vc ++?

547


Explain pointer to the constant and constant pointer? Explain difference between them.

690


Can I remove microsoft visual c++?

601