ANSI C Programming: Pointers


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To describe how to write advanced, efficient ANSI C programs using pointers

Target Audience
Programmers and software developers new to ANSI C

Prerequisites
Awareness of programming concepts; experience of using a third-generation, high-level language, such as Pascal, PL/1, BASIC, or FORTRAN

Expected Duration (hours)
2.8

Lesson Objectives

ANSI C Programming: Pointers

  • use the correct syntax for defining and initializing pointers in ANSI C.
  • define and initialize pointers to different datatypes in ANSI C.
  • distinguish between access by reference and access by value and use access by reference to pass parameters to functions and structures in ANSI C.
  • list the rules of double indirection and pass pointers to pointers in ANSI C.
  • increment and decrement pointers in ANSI C.
  • define and initialize function pointers and arrays of function pointers in ANSI C.
  • define and initialize arrays of pointers in ANSI C.
  • match a set of ANSI C pointer declarations with their descriptions.
  • name the ANSI C functions responsible for allocating memory at runtime and identify their particular uses, allocate memory, using the malloc() function, and free memory, using the free() function.
  • list the differences between linked lists and arrays and code a linked list in ANSI C.
  • Course Number:
    116826_eng