Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?