What do we mean by when we say pointers can have multiple levels of indirection?

Multiple levels of indirection in C++ pointers
#2
Posted 10 November 2021 - 12:38 PM
By this we mean to say that we can have many pointers pointing to each other. A pointer pointing to another pointer is considered as a level of indirection so lets say I have created a pointer a which is pointing to some int temp and now I create a pointer b which is pointing to pointer a so here this is a simple case of indirection where pointer b is not directly pointing towards temp but it points to a which is pointing towards temp, other than indirection pointers have other cool properties and uses most of them discussed by Scaler Topics you can go through these once
Edited by CStrike09, 10 November 2021 - 12:39 PM.
Reply to this topic

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users