Introduction to pointers
in
Pink color
cups
00100 110010
00100 101010
011110 10001
101000 100101
1001010 1000111
100011 100000
1000
1001
1002
1003
1004
1005
Money
Different
design}
Shirt
Important points
• Pointer is special variable that is capable of storing some address
• It points to the first byte only!
200 $
integer
content
00100 110010
00100 101010
011110 10001
101000 100101
1001010 1000111
100011 100000
1000
1001
1002
1003
1004
1005
address
int
}
Declaring pointers
It just won’t work
All depends on the type of data it is.
character ?
int *ptr;
Int x = 5
5
X
Find x
Thank you
Introduction to pointers in C language

Introduction to pointers in C language