ANSI C Programming: Pointers

Course Status: Released
Course Language: English
Course Duration: 4 Hours
Deployment Options: Online, Interactive CDs, Network, Downloads, Intranet

Audience
Experienced C programmers and software developers
Prerequisites
Awareness of programming concepts; experience of using a third-generation, high-level language such as Pascal, PL/1, BASIC, or FORTRAN
Course Aim
To enable the student to write advanced, efficient ANSI C programs using pointers
Learning Objectives
Use pointers of all types in ANSI C programs.
Describe how to do address arithmetic.
Use pointers with functions.
Explain how to use double address indirection.
Describe how to write programs using dynamic memory allocation
Topics Covered
Pointer basics
-
Definition and initialization
- Hands-on: Defining and initializing pointers
- Access by reference
- Double indirection
Pointer arithmetic
-
Address arithmetic
- Pointers to functions
- Arrays of pointers
- Exercise: Matching pointers
Memory allocation and linked lists
-
Dynamic storage allocation
- Linked lists


Copyright © 1995-2005 E&A Inc.. All rights reserved.