UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

C pointers

In-class activities

 

And get ready, 
cause this s--t is about to get heavy

 
  --Eminem

1.  Lecture

Work Plan

The following concepts are addressed:

  • Memory address of each variable in a program.

  • Indirection: accessing a data through its address.

  • The pointer data type.

  • The & operator.

  • The * operator.

  • Accessing structure fields through pointers.

  • Multiple indirection: pointers to pointers.

  • Using pointers: function parameters.

  • Using pointers: linked structures.

How long did this activity take you? mins.