Author name: admin

Tutorials

C++ Expressions

C++ Expressions are the combination of one or more operands and operators that are involved in the computation. Every expression produces a result that can be stored in a variable. Below are a few examples of expression There are many types of c++ expressions depending on the type of operator used. Constant Expressions Integral Expressions … Read more

Tutorials

C++ Operators

You declare a variable after that operators are used to perform logical or mathematical operations on that variable’s values. For example, int age = 27; where the “=” symbol is an assignment operator that assigns 27 to the age variable. C++ programming language support many operators that are divided into different groups. Arithmetic operators Assignment … Read more

Tutorials

C++ Constants

C++ constants are fixed values that can not be altered at any stage of the program. Const literal is used to make any variable a constant or read-only. Syntax For Example Note We can use constants (const) for the fixed value variables whose value remains the same throughout the program. Recommended Article C++ program to … Read more

Tutorials

C++ Variables

C++ Variables are the names given to memory locations. It is used to store any data type value. We can say that variables are the containers to store any value (information) within the program. For example int age =27; where age is an integer type variable while float area= 16.8; is a floating-point variable.   … Read more

Tutorials

C++ Data Types

C++ Data Types tell about the size and the kind of data that is being stored in the variable. Each data type requires a different amount of memory based on its type. For example, int age = 27; where int is the data type that tells integer value stored in the variable “age” and takes … Read more

C++ Keywords
Tutorials

C++ Keywords

C ++ keywords words are also called reserve words. The meaning of these words is already defined by the compiler. For example int age =27; where int is the keyword whose special meaning is already defined. We cannot use it as an identifier. They always begin with the small latter. List of all possible C++ … Read more

C++ Identifiers
Tutorials

C++ Identifiers

C++ identifiers are the unique names assigned by the programmer to the variables, constants, functions or classes, etc. For example int age= 27; where “age” is the identifier given by the developer. To write any identifier you have to follow a set of rules. Let’s take a look at the rules. All alphabets, digits, and … Read more

Execution environment in C++
Tutorials

C++ Execution Environment

In this article, we will learn about how to write and run C ++ code. We need two things to write the C++ code and run it successfully. The combination of both is known as the C++ Execution Environment. 1. Text editor 2. Compiler Let’s take a look at how they both help us to … Read more

C++ program basic structure
Programming

C++ program’s basic structure

The C++ program is a collection of instructions that are written in a specific format and is called the C++ Program’s basic structure.  Every program written in C++ follows this structure. Let’s have look at the basic structure of the C++ program 1: //C++ program’s basic structure A line that starts with a “//” symbol … Read more

introduction to C++
Programming

C++ Get Started

C++ is the programming language that comes into existence as an extension of the c language. It was developed by Bjarne Stroustrup in 1979. C++ is an intermediate-level programming language that supports advanced programming concepts such as object-oriented, procedural, functional, and many more. This is the reason, it is considered the most famous and frequently … Read more

Scroll to Top