What Are Pointers?


Introduction and Summary

Out of all the introductory concepts in computer science, pointers can be the hardest to learn as well as one of the most rewarding. Pointers open up a world of possibilities allowing programmers to do things that would otherwise be extremely difficult if not impossible. This tutorial sets about to introduce pointers painlessly and familiarize you with them and the basic concepts surrounding them so that you can understand and begin to use them quickly.

In this chapter we begin by covering the topic of memory and memory addresses. Pointers are nothing more than variables that store memory addresses and can be used to access the memory at those addresses. Various operators such as the *, the &, and the [], enable us to use pointers to do these things.

Take a Study Break

Green YOUR SCHOOL!

Click here to get involved with dosomething.org!

John Krasinski's BIG MIRACLE

Click to watch the trailer and read exclusive star interviews!

Do you like Anna?

Read Dear Albert... from ANNA's perspective!

BATTLESHIP, the movie

Here's why we're super jazzed about it.

Do energy juices actually work?

Our blogger puts 'em to the test!


The Book

Cover image

Read What You Love, Anywhere You Like

Get Our FREE NOOK Reading Apps