Skip to content

Tag Archives: cpp-double-pointer

Prerequisite: Pointer in C and C++, Double Pointer (Pointer to Pointer) in CA pointer is used to point to a memory location of a 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
Prerequisite: Pointers vs References in C++. For clear understanding, let’s compare the usage of a “pointer to pointer” VS “Reference to pointer” in some cases.… Read More
Given a singly linked list, a position and an element, the task is to write a program to insert that element in a linked list… Read More
Given a singly linked list, delete all occurrences of a given key in it. For example, consider the following list.  Input: 2 -> 2 ->… Read More
Prerequisite : Pointers in C and C++ We already know that a pointer points to a location in memory and thus used to store the… Read More
Consider simple representation (without any dummy node) of Linked List. Functions that operate on such Linked lists can be divided into two categories: 1) Functions… Read More

Start Your Coding Journey Now!