Printing Text and Numbers to the Screen using cout





This video tutorial explains the usage of cout in c++ programming.
You will learn what is cout, how to use cout to print text and numbers, how to use stream insertion operators with cout, how to combine different types of data in one cout with examples in detail.

source code for this tutorial
#include <iostream>
using namespace std; int main() { int age = 23; float avg = 32.53; cout << "hi anil " << age << endl << avg; return 0; }
Back To Top