Extended Concept of Pointer in C Language part-2
O LEVEL - PAPER 3rD -- M3-R4
C LANGUAGE
OBJECTIVES
Pointer Basics
Extended Concept of Pointer
POINTER'S ARITHMETIC
APPLICATION OF POINTER
EXTENDED CONCEPT OF POINTER
![]() |
pointer in c |
At the time of any pointer declaration ,the number of asterisk used with variable is called as level of that pointer that's mean if one asterisk used with variable then it's called one level of pointer and 2 asterisk called 2 level and so on... but remember pointer always contain the address of one level lesser then its own level as we see in above example i.e *p contain x address ,**q contain *p address only and so on..
how to pronunciation these pointer in c language ?
x is int type , *p is a pointer variable which pointing int block i.e int x and **q is a pointer to a pointer to an int means **q is a pointer which pointing a pointer which pointing a int block and ***r is pointer to a pointer to a pointer to an int means ***r is a pointer which pointing a pointer which pointer a pointer which pointing a pointer which pointing a int block and so on...
Comments
Post a Comment