An enumeration is a distinct type (user-defined type) with named constants that are known as enumerators. The name of the enumeration becomes an enum name within its scope. In C++, the enumeration type is declared with an enum key. These enum keys can be only an enum or enum class…

This blog post will teach you about C++ Identifiers and their naming rules. I will try to explain the identifier in C++ with an example code. After reading this blog post, I believe you will be able to identify invalid and valid identifiers in C++. What is an identifier in…

In this blog post, we will learn about C++ data types with the help of examples. But before the classification first let’s understand what is data type. A data type is a classification of data that tells the compiler or interpreter how the programmer intends to use the data. At…