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?

Answers were Sorted based on User's Feedback



What is the difference between the cout and cin iostream objects? ..

Answer / satyagmk

cin is for reading the data.
cout if for print/display the result at the output.

Is This Answer Correct ?    52 Yes 5 No

What is the difference between the cout and cin iostream objects? ..

Answer / udit bali

1. cin is used to get data from the user and on other hand cout is used to print the data on the screen for the display.
2. cout and cin both are used under iosteam library.
3. cin operator is ">>" and cout operator is "<<"

Is This Answer Correct ?    35 Yes 8 No

What is the difference between the cout and cin iostream objects? ..

Answer / 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

What is the difference between the cout and cin iostream objects? ..

Answer / muhammad haroon

Cin stand console input and cout stand for console output.
Cin get data from user at compile time and cout display the data on computer screen .
These are predefined in c++
Cin operator is >> and cout operator is<<.

Is This Answer Correct ?    3 Yes 1 No

What is the difference between the cout and cin iostream objects? ..

Answer / mukta b

• Cin : Represented by insertion operator >>
Cout : Represented by extraction operator <<

• cin : is an object of input streams like consoles, files, etc.
Cout : is an object of output streams that's used to show outputs.

• cin : is an input statement
cout : is an output statement

Example :
#include<iostream.h>
#include<conio.h>
void main()
{
int a;
cout<<"Enter value for a: "; //taking value of a
cin>>a; //inputing value
cout<<"A = "<<a; //outputing value
getch();
}

Is This Answer Correct ?    2 Yes 0 No

What is the difference between the cout and cin iostream objects? ..

Answer / osama ilahi

cin called stream extraction and cin means to in input the information .
cout callled stream insertion and cout means to output information.

Is This Answer Correct ?    1 Yes 1 No

What is the difference between the cout and cin iostream objects? ..

Answer / arfa mumtaz

The cout is pronounced as see out
The cin is pronounced as see in

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More VC++ AllOther Interview Questions

Can I remove microsoft visual c++?

0 Answers  


What is the difference between the cout and cin iostream objects?

7 Answers  


Is microsoft visual c++ a virus?

0 Answers  


How to Use mfc71d.dll not mfc71.dll ?

1 Answers  


How can i communicate with two systems one is located some place another is located 100km how from the current systems which protocala i have to use

2 Answers   Invensys,


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

0 Answers  


How do I change visual code font?

0 Answers  


What is dao in vc ++?

0 Answers  


Is visual c++ still used?

0 Answers  


How can we use cmutex?

0 Answers  


What is visual c++ runtime error?

0 Answers  


Explain some of commonly used methods provided by iunknown.

0 Answers  


Categories