Cout in C++:
In previous tutorial, we learnt how to store data. Now we
will learn in this C++ tutorial that how to print that desired result on the
console.
In C++, output on the standard output device is accomplished
through the use of "cout" and the operator “ << ”.
Note:
The standard output device is usually the screen.
Syntax:
cout << expression or identifier ;
This is called an output statement. In C++, "<<" is
called the stream insertion operator.
Example:
Here are some simple c programs with...
Showing posts with label cout in c. Show all posts
Showing posts with label cout in c. Show all posts
Saturday, 5 October 2013
Subscribe to:
Posts (Atom)