EN / USD
2 Items
 Home
Blog
C++ Data Types
DATA TYPES IN C++, datatypes in c++, c++ datatypes, builtin datatypes in c++, derived datatypes in C++, user defined datatypes in C++, c++ data types examples
In the previous section, we have had an overview of a detailed Introduction to C++. Today, we will have a look at the data types in C++. It's our 2nd tutorial in the C++ programming language series. In the previous tutorial, we have seen the basics of C++ and have also discussed a small code. We have discussed various programming terms in the previous tutorial and from now on, we are going to discuss those terms in detail. So, today's lecture is on Data Types in C++, let's get started: C++ Data Types A  data type defines the type and the set of operations that can be performed on the data. Various types of data are manipulated by the computer. The data is given as an input to the program. According to the program's set of instructions, data is pr ...
Blog
C++ Variables & Constants
Variables in C++, c++ variables, constants in c++, c++ constants, c++ variable types, types of variables in c++, c++ global variables, c++ local variables
In the previous topic, we have discussed data types in C++ in detail. Today we will discuss variables and constants in C++. A named memory location or memory cell is called a variable. The program's input data and its results are stored in variables during execution. During the execution of the program, the value of a variable can be changed but its name can not be changed. Variables are created in random access memory. As we know that RAM is a temporary memory so data stored in it is also temporary. It can only be used during execution. When the program ends, the data stored in the variable is automatically removed. In C++, all the variables are declared first: Name of variable: an identifier that represents a memory location. Address of v ...