Skip to content

Tag Archives: Pointers

Pointers are the variable that stores the address of another variable is called a pointer. The pointer of Base Class pointing different object of derived… Read More
Structure Pointer: It is defined as the pointer which points to the address of the memory block that stores a structure is known as the… Read More
Prerequisite: Array BasicsIn C/C++, multidimensional arrays in simple words as an array of arrays. Data in multidimensional arrays are stored in tabular form (in row… Read More
Prerequisite: Array BasicsIn C/C++, multidimensional arrays in simple words as an array of arrays. Data in multidimensional arrays are stored in tabular form (in row… Read More
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant,… Read More
Pointers store the address of variables or a memory location. Pointers are a symbolic representation of addresses. They enable programs to simulate call-by-reference as well… Read More
Prerequisite: Classes, Constructors, Initializer list In this article, we will discuss the order of execution in the initializer list in C++. Generally, the order of… Read More
In C++, cout shows different printing behaviour with character pointers/arrays unlike pointers/arrays of other data types. So this article will firstly explain how cout behaves… Read More
Pointers: A pointer is a variable that holds memory address of another variable. A pointer needs to be de referenced with * operator to access… Read More
Prerequisite: Pointer in C and C++, Double Pointer (Pointer to Pointer) in C A pointer is used to point to a memory location of a… Read More
Pointers variables are also known as address data types because they are used to store the address of another variable. The address is the memory… Read More
Given a sorted array arr of size N, the task is to reduce the array such that each element can appear at most two times.Examples: … Read More
Prerequisite: Pointers in C, Double Pointer (Pointer to Pointer) in C A pointer is used to point to a memory location of a variable. A… Read More
Pointer: A pointer is a variable which contains the address of another variable, i.e., address of the memory location of the variable. Like any variable… Read More
NULL pointer in C At the very high level, we can think of NULL as a null pointer which is used in C for various… Read More