2 Answers - Sort by: Date | Rating
The "cout" object____ Output Stream
The "cout" is pronounced as "See out". The "cout" stands for console output. The console represents the computer display screen.
The "cout" is a C++ predefined object. It is used as an output statement to display output on the computer screen. It is a part of iostream header file.
Flow of data from one location to another location is called stream. The "cout" is the standard output stream in c++. This stream sends the output to the computer screen.
The syntax of cout is:
cout<< const1/var1, const2/var2;
Cout: It is the name of output stream object.
<<: Put to operator or insertion operator. It directs the output-to-output device.
Const1/var1, const2/var2: It is the list of constants, variables or arithmetic expression or each variable or constant, separate operator "<<" is used.
The string constants are given in double quotation marks. Numeric constants, variables and expressions are given without quotation marks e.g.:
cout << "One kilobyte = "<<1204<<"bytes";
In the above statements, two string constants, one numeric constant and three put to operators(<<) have been used. The output of the above statement will be:
One kilobyte= 1024 bytes
The "cout" is pronounced as "See out". The "cout" stands for console output. The console represents the computer display screen.
The "cout" is a C++ predefined object. It is used as an output statement to display output on the computer screen. It is a part of iostream header file.
Flow of data from one location to another location is called stream. The "cout" is the standard output stream in c++. This stream sends the output to the computer screen.
The syntax of cout is:
cout<< const1/var1, const2/var2;
Cout: It is the name of output stream object.
<<: Put to operator or insertion operator. It directs the output-to-output device.
Const1/var1, const2/var2: It is the list of constants, variables or arithmetic expression or each variable or constant, separate operator "<<" is used.
The string constants are given in double quotation marks. Numeric constants, variables and expressions are given without quotation marks e.g.:
cout << "One kilobyte = "<<1204<<"bytes";
In the above statements, two string constants, one numeric constant and three put to operators(<<) have been used. The output of the above statement will be:
One kilobyte= 1024 bytes
0
0
- How Do You Get Rid Of The Blue Screen Of Death?
- What Is Kill Disk?
- How Much Gold Is In Computers?
- What If I Forget The Password To My Wireless Router?
- What Are The Sound Brand Of Laptops Nowadays?
- How To Login To Teck Deck Live?
- What Do Systems Software Include?
- How Do I Set Up A Built In Laptop My Laptop Is A HP Mini?
- How Do I Set Up A Built In Laptop My Laptop Is A Mini Hd?
- My Computer Cant Not Read My Usb Because It Is Used For A Lot Of Things?
- Who Is Johnnie J Ware?
- What Role Does Software Play In The Information System?
- Can An Hp Deskjet F2430 Work With A Macbook?
- How Can I Connect The Usb Cable From A Samsung Rant Phone To My Laptop?
- Is The Epson Stylus Compatible With Ps3?
- What Do I Do To Make This Webcam Work?
- How Do I Get My Web Cam To Work?
- What Are The Social,economical And Moral Implications Of Technology?
- How To Install Hp F4280 All In One Printer?
- What Are The Bumpy Areas Called On An Optical Disk?
- Why Do Most Multimedia Applications (e.g. VoIP) Choose UDP Instead Of TCP As Their Transport Layer Protocol?
- What's A Splash Page On A Newspaper?
- I Need Help With Bittorrent If Any One Nows Anything About It. When My Cds Break I Will Pirate Them But Idc Cuz I Pay My 10$. When I Download Them On Bittorrent A Red ! Mark Shows Up And Ses A Fire Wall Or Router/modem Is Bloking Your Connection?
- What Was The Importance Of Printing In The Song Dynasty?
- How Do I Install Hp Deskjet F4240 Without Disk?
- What Would Be The Output For This In C# Language?
- In C Language:- Int A=4,b=7; Printf("%d%d",b++,--b); What Is The Output ?why?
- Which Statement Is Used For Input In C++ Language?
- Explain The "If" Statement Use In C++ Language?
- How To Call A Function Again In Case Statement In C Language?
- Can You Explain The Statement That Language Is Symbolic And Person Centered?

New Comment - Comments are editable for 5 min.