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
- What Is The Purpose Of The Preamble In An Ethernet Frame?
- Why Is LCD Better Than CRT?
- I Lost My Cd For Lexmark X7170 All In One Printer What Can I Do?
- What Is The Difference Between The Operating System For Server And A Client?
- How Do I Install A Printer Epson 9400fax Without The Cd?
- How To Get The Intrenet On Ds Step By Step?
- The Cd That Came With My Phone Will Not Go Onto My Computer What Now?
- How To Download Deskjet F4140?
- Is WAP (Wireless Application Protocol) Related And The Same With WiFi (Wireless Fidelity)?
- How Do I Install Deskjet F4140?
- What Is The Cost Of Replacing A Cracked Screen On A Toshiba Laptop?
- How Do IS Groups Use The Internet And Other Online Networks?
- I Am Using VISTA, Whenever I Shutdown My Pc It's Restarts The Pc. What Is Wrong?
- Show Me What It Looks Like To Have The Ink Cartridge Into A MP190 Canon Ink Jet Printer?
- Can A Firewire Be Connected To The USB Port Of A Computer By The Use Of Any Adaptor?
- How To Sole Error Rundll Is Not Found?
- Help With Port Forwarding On Westell 6100 And Linksys WRT110?
- How Do I Write A Cv On My Computer?
- Explain The Types Of Memory Used In Computers?
- What Are The Backgrounds About Vehicles?
- Does Computers Have Gold In Them?
- What Is Display Advertising?
- What Is Quantitative And Qualitative Data?
- Can I Get Different Kinds Of Data And Information?
- Which Scanners Are Suitable For Toshiba Lap Tops?
- 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?
- What Is The Output?
- What Is Output?

New Comment - Comments are editable for 5 min.