📄️ Variables and Types
In C++, variables are containers used to store data values. The type of a variable determines the size and layout of the variable's memory, the range of values that can be stored within that memory, and the set of operations that can be performed on the variable.
📄️ Constants and Literals
Introduction
📄️ Operators
In C++, an operator is a special symbol that is used to perform specific operations on one, two, or three operands (data). C++ provides a rich set of operators which can be classified into the following types:
📄️ Loops
Loops are essential in any programming language, including C++. They allow for the repetition of a block of code until a specified condition is met. In C++, there are three types of loops:
📄️ Decision Making
C++ is a powerful and versatile programming language that allows you to make decisions within your code. This is accomplished through the use of control flow statements, which can change the order in which your code is executed based on certain conditions. In this tutorial, we'll cover the three main types of decision-making statements in C++: if, switch, and conditional (ternary) operator.