C++ Language

Templates in C++

In this blog post, you will learn about templates in C++ with the help of programming examples. Templates are powerful features of C++ that allow us to write generic programs. It allows us to define a family of classes, functions, or variables, an alias for a family of types, or a concept. That means as a […]

Templates in C++ Read More »

Scoped vs unscoped enum in C++

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 or enum struct. The enum

Scoped vs unscoped enum in C++ Read More »

Array of Strings in C

In this blog post, I will try to teach what is an array of strings in C with the help of example code. Also, I will also explain some invalid operations that you should avoid before using an array of strings.   What is an Array of Strings in C? As you know an array

Array of Strings in C Read More »

C++ Identifiers

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 C++? An identifier is a

C++ Identifiers Read More »

Introduction of C++ Data Types

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 a high level, we can

Introduction of C++ Data Types Read More »

What is Access Specifiers in C++?

In this article, you will learn about C++ access specifiers with the help of programming examples and explanations. The access specifiers of C++ are public, private, and protected. Basically, the access specifier defines the access rules for class members. This rule is applicable until the end of the class or until another access specifier is

What is Access Specifiers in C++? Read More »