Skip to content

Tag Archives: CPP-Basics

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
C++ is a powerful language. In C++ we can write a structured program and object-oriented program also. In this article, we will focus on dynamic_cast… Read More
C++ is a powerful language. In C++ we can write structured programs and object-oriented programs also. C++ is a superset of C and therefore most… Read More
The std::numeric_limits<T> class in the limit header provides min(), max(), and lowest() function for all numeric data types along with the other member functions. std::numeric_limits<T>::max():… Read More
In this article, we will discuss the immediate function used in C++. Immediate Function: In C++20, an immediate function is a function where every call… Read More
In this article, the differences between passing “pointer to pointer” and “address of pointer” to a function. In C or C++ Programming Language, it is… Read More
Every program takes some data as input and generates processed data as an output following the familiar input process output cycle. It is essential to… Read More
In this article, we will discuss how to handle the exceptions using classes. Exception Handling: Exceptions are run-time anomalies or abnormal conditions that a program… Read More
In this article, we will discuss the behavior of Virtual Function in the derived class and derived class from the Abstract Base Class in C++.… Read More
Xcode is an IDE developed by Apple themselves to develop apps for macOS and iOS or all other Operating Systems that Apple develops. It also… Read More
find(): The find() function is used to search the element in the given range and every STL container has the functionality to search the element… Read More