I am confused about pointer , it takes value of a vairable or only takes adress of vairable ??
king.umair523
0
Newbie Poster
Recommended Answers
Jump to PostA pointer is the address of a variable (or the address of an array slot, the address of a struct member etc.). For as long as the pointed-to variable is alive, you can access its value by dereferencing the pointer.
All 4 Replies
sepp2k
378
Practically a Master Poster
David W
131
Practically a Posting Shark
Learner010
99
Posting Whiz in Training
tenzinlol
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.