Operators in C++

Operators: Operator is a symbol Operator performs an operation on operands Expression is a collection of Operators and Operands. Operators Classified into: Unary: Performs operation on Single operand. Binary: Performs operation on 2 operands. Ternary: …

Data types in C++

Data types: In the declaration of every variable, it is mandatory to specify its data type. Data type describes the size of memory location and type of data to be stored into that location. For …

Keywords and Identifiers in C++

C++ Keywords: A reserved word with special meaning Keyword is a program that can be used directly to do some operations. A list of keywords as shown below Alignas decltype namespace struct alignof default new …

Variables in C++

Variable: When we run the program, memory will be allocated to store the information of that program. We can give identities to memory locations to store data called “Variables” Variable is a “Named memory location” …

First C++ Program

This Document clearly explains how to write your First C++ program what will display “Hello World” Message on the Monitor. We will also discuss about single line and multi line comments as well Look at …

Structure of C++ program

A simple C++ Program has mainly 2 sections Standard Libraries Section Main Function Section Standard libraries section: #include <iostream> using namespace std; #include is a preprocessor command that that is used to connect your source …

Courses Enquiry Form