Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Difference between critical section, mutex and semaphore.

1100


Is it ok to uninstall microsoft visual c++?

1085


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

1003


What is microsoft visual c++ 2010 x86 redistributable?

1029


Is visual c++ a compiler?

978


What is microsoft visual c++ 2005 redistributable?

1052


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

1001


How do I uninstall and reinstall microsoft visual c++ runtime libraries?

1091


What is cmutex?

988


How can we use cmutex?

966


How do I change visual code font?

1094


Do I need ms visual c++ on my computer?

1021


What is vc++ programming?

1099


Do I need all the microsoft visual c++ redistributable?

1002


Explain pointer to the constant and constant pointer?

919