cout in C++ Language

cout in C++ Language:

(1) “cout<<” is used for printing output value or text

(2) Sample C++ language code and its output, as shown:

Sample C++ Language Code
#include <iostream>
using namespace std;
int main() {
cout << “My first C++ Language code!”;
return 0;
}

(3) After that go to the “Build” menu and select the “Build” option for publishing the code as shown.

first c++ language code build

(4) After building the code, press the “Run” button, as shown.

Run the sample C++ code

(5) After pressing the “run” button, the output screen is opened, as shown.

Sample C++ Language Code Build

Arithmetic Operators in C Language
Comparison Operators in C Language
Logical Operators in C Language
If Else condition in C Language
Use of REVERSE Function in SQL
REVERSE (Transact-SQL)– Microsoft Docs

Leave a Reply