Programming Tutorial
C Tutorial 6 â An introduction to pointers
Pointers are an extremely powerful programming tool. They can make some things much easier, help improve your programâs efficiency, and even allow you to handle unlimited amounts of data. For example, using pointers is one way to have a function modify a variable passed to it. It is also possible to use pointers to dynamically allocate memory, which means that you can write programs that can handle nearly unlimited amounts of data on the flyâyou donât need to know, when you write the program, how much memory you need. Wow, thatâs kind of cool. Actually, itâs very cool, as weâll see in some of the next tutorials. For now, letâs just get a basic handle on what pointers are and how you use them.
C Tutorial 6 â An introduction to pointers