Data Types in C++ Data types in C++ define the kind of data that a variable can hold. They determine the size of the data (in memory) and the operations that can be performed on the data. C++ provides a wide range of built-in data types that can be categorised into: Basic (Primitive) Data Types Derived Data Types User-Defined Data…
Read moreVariables A named storage location in memory that holds a value that can be modified during the execution of a program. Associated with a specific data type , which defines the type of data it can hold, such as integers, floating-point numbers, characters, and so on. Declaring a Variable To declare a variable in C++, you need to specify: D…
Read moreTokens in C++ Token à S mallest unit of a program. building blocks of the program's source code à C++ compiler processes à executes. Six primary types of tokens in C++: 1. Keywords Reserved words with special meaning to the compiler. not be used as identifiers (variable names, function names, etc.). list of C++ keywords: Co…
Read more
Social Plugin