Preview course for free

Preview this course for free.

To preview this course, you will need to create a free account. Once you register, we'll send
you right along and you will get access to the first task in the course (day 1).


No credit card or payment info is required. Existing users, sign-in to begin.

Preview this course for free.

To preview this course, you will need to create a free account. Once you register, we'll send
you right along and you will get access to the first task in the course (day 1).


No credit card or payment info is required. Existing users, sign-in to begin.

Take a class, join the instructor-supported online learning revolution.

Choose a class date below to get started. Every class comes with a complimentary subscription which begins immediately even if your class doesn't start for a week or two. You can be learning in just minutes.

Upcoming classes: Choose this date >>


Take this course.

You'll need to get a subscription to join this course.
Our subscriptions start at $29.

View your subscription options
Course Summary

Pointers are probably one of the most difficult concepts in C to master. To the beginner their syntax seems strange and their usage is sometimes hard to grasp. However it is very important for every C developer to understand how pointers work. Not only pointers to data but also pointers to functions that can be used to dynamically change program behavior at runtime.

In this class you will be working with pointers to variables, arrays, structures, and functions. Work with allocating memory dynamically. You will also explore opaque pointers and type abstraction.

Course Objectives

After completing this course, you should be proficient in the following:

  • Implement pass-by-reference semantics using pointers
  • Manipulate a structure variable through a pointer
  • Allocate and release memory on the heap
  • Write a function that accepts a function as a parameter
  • Combine structures and functions to create higher-level constructs
Edit video url:

Edit Course Objectives
















Change objectives

Tasks

Search tasks

tasks found
Save
Preview this task « This task is available right now for free, no payment info required.
Access and manipulate memory with pointers
8 Activities | Time: 1h 16m | Types: Article (3) | Practice (3) | Video (2)
Manage your program’s memory usage with heap and stack based allocations
7 Activities | Types: Article (5) | Practice (1) | Video (1)
Create abstract data types using opaque pointers
7 Activities | Time: 1h 20m | Types: Article (5) | Practice (1) | Video (1)
Change program behavior at runtime with function pointers
6 Activities | Time: 1h 9m | Types: Article (3) | Practice (1) | Video (2)