Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
15Activity
0 of .
Results for:
No results containing your search query
P. 1
Pointers Inc

Pointers Inc

Ratings: (0)|Views: 83 |Likes:
Published by virus1811

More info:

Published by: virus1811 on Jan 03, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

11/12/2010

pdf

text

original

 
Pointers inC
 
Pointer Definition
Holds a data value that references a unit of memory storage.In other words:
A variable that holds Memory Address
How do we declare a Pointer inC?<data_type> *ptr1, *ptr2, … ;e.g.
int * ip;
Variable
ip
is a
 pointer that can
ip
0x1234
 
Aress-o an DereerenceOperators
A pointer is nothing more than a box that contains avalue that is
underneath some other box.There are two basic operators for dealing with pointers in C.
One is the address-of operator ‘&’. If you give it abox, it returns the value
underneath it.
The
other operator is the dereference operator‘*’. This does exactly the opposite thing. If you give ita box, it takes the value inside that box, then goesand finds the other box that has that valueunderneath it.

Activity (15)

You've already reviewed this. Edit your review.
1 hundred reads
aruljothip liked this
kailashpathak liked this
back2basicsbec liked this
Mani Kandan liked this
shaffic liked this
Muthu Prabhu liked this
riturajb1u liked this
sanjaydalal4u liked this
sanjaydalal4u liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->