LL Notes
Basic LL syntax :
Cycle Detection in Linked List
How Fast and Slow Method Work
Double Pointer
we already know that a pointer stores the memory address of other variables. So, when we define a pointer to a pointer, the first pointer is used to store the address of the variables, and the second pointer stores the address of the first pointer. For this very reason, this is known as a Double Pointer or Pointer to Pointer.
What will be the size of a pointer to a pointer in C++?
In the C++ programming language double pointer behave similarly to a normal pointer. So, the size of the variable of the double-pointer and the size of the normal pointer variable is always equal.
Last updated