This note covers the following topics:
Pointers in C, Pointers as Arguments, Passing Pointers to a Function, Code Using
Pointers, Null Pointer, Syntax for Pointer Operators, C Code for IntDivide,
Arrays , Array as a Local Variable, Passing Arrays as Arguments, I/O with
Strings, Arrays, Pointers and Pointer Arithmetics.
Author(s): Don
Fussell, University of Texas at Austin
This page covers the following topics related to
Pointers in C : Definition of a pointer, Starting offl, Interlude: Declaration
syntax, Assignment and pointers, Dereferencing, Interlude: Arrays, Pointer
arithmetic , Indexing, Interlude: Structures and unions, Multiple indirection, Pointers and const, Function pointers, Strings.
This document explains how pointers and memory work and how to use them
from the basic concepts through all the major programming techniques. For each
topic there is a combination of discussion, sample C code, and drawings.