Pointers to Pointer Architecture in C

Ratings:
(4)
Views:0
Banner-Img
  • Share this blog:

 

Pointers to Pointer Architecture with examples

Pointer to pointer:  It is a concept of holding an address of the pointer variable into another variable.

  • Pointer to pointer relations can be applied up to 12 stages but generally, there is no limitation.
  • When we are increasing the pointer to pointer relations, then performance will be decreased.
*  -represent variable address&- represents base address.

Syntax:

Pointer: Datatype

*ptr; p2p: Datatype

** ppt; P2p2p: Datatype *** ppptr;  

{
inti;
int * ptr;
int ** pptr;
int ***pptr;
ptr=&ptr;
pptr=&pptr;
i=10;
}
  • &i 2 500
  • ptr 2 500
  • i 2 10
  • ptr 210
  • &ptr 2 600
  • pptr 2 600
  • pptr 2500
  • **pptr 2 10

600 2 500210    

  • &pptr 2 700
  • ppptr 2 700
  • *ppptr 2600
  • ** ppptr 2 500
  • *** ppptr2 10

  *(700)

  ↓

  *(600)

  ↓

  *(500)

  ↓

   10  

For an in-depth understanding of Pointers click on

You liked the article?

Like : 0

Vote for difficulty

Current difficulty (Avg): Medium

Recommended Courses

1/15

About Author
Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.


Stay Updated


Get stories of change makers and innovators from the startup ecosystem in your inbox