C++ Arrays

C++ arrays store one or more than one element. An array contains a number of items. A single variable is used to define an array of multiple items. Each item in an array is called an element. The image below shows an array that has 10 elements. Hence the length of array is 10. The … Read more

C++ Variables and Data Types

The main feature of the C++ is that you need to define everything before using it. C++ Variables are the names assigned to the memory locations where different type of data is stored. Data types define the type of the data to be stored in the memory locations. The variable are defined in this way … Read more