Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Objective-C Basics (Retired) Pointers and Memory Pointer Power

Is this right about pointers

So i just wanted to know if i'm along the right track about pointers so here i go.

Instead of using a variable for holding a value you can use pointers to get the value of a variable in memory. Doing this would help later on with storing information in the memory and accessing it just by getting the address using the '*' and getting the value using the '&'.

This is how i see pointers am i right or am i a bit way of are they just basically better and more reliable way of finding and storing values in memory ?

2 Answers

This site explains it a lot better than I could: http://boredzo.org/pointers/ Also, there's an entire book specifically for C pointers published by O'Reilly Publishing

How is that O'Reilly book on pointers?