Skip to content

Tag Archives: CPP-Basics

A recursive lambda expression is the process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called… Read More
Introduction: Every programming language that is based on an object-oriented concept tries to connect everything to the real world. Similarly, C++ languages use classes, Inheritance,… Read More
Reusability is one of the most important concepts of Software Engineering. Reusability means developing code that can be reused either in the same program or… Read More
Encryption in cryptography is a process by which a plain text or a piece of information is converted into ciphertext or a text which can… Read More
Memory Limit Exceeded Error: It typically occurs when no memory limit has been set. It means that the program is trying to allocate more memory… Read More
A function is a set of statements that take inputs, perform some specific computation, and produce output. The idea to use functions is to perform… Read More
In C++, assigning a function to a variable and using that variable for calling the function as many times as the user wants, increases the… Read More
Containership: When an object of one class is created into another class then that object will be a member of that class, this type of… Read More
An array of pointers is an array of pointer variables. It is also known as pointer arrays. We will discuss how to create a 1D… Read More
An array in any programming language is a collection of similar data items stored at contiguous memory locations and elements can be accessed randomly using… Read More
While programming, there is often a piece of code that needs to be written repetitively. For example, loops (for loop, while loop, do-while loop), or… Read More
In this article, we will discuss how the variable-length argument works. Variadic function Calling convention Memory layout of C/C++ program Negative subscript Variadic Function: A… Read More
C++ has in its definition a way to represent a sequence of characters as an object of a class. This class is called std::string. String… Read More
In this article, two unique and different ways of accessing an element from an array rather than the conventional arr[i] expression are discussed below. Using… Read More
In this article, we will discuss the problem of initialization in C++, the data members of a class have private scope by default, so they… Read More