C Advanced Lesson 11 of 15

Function pointers in C

50 min, 5 exercisesCode

A program reads a command name, and has to run the matching function without a page of if statements.

You've reached the good stuff.

5 exercises, checked as you type.

  • All 4 courses
  • Projects
  • Bug hunts
  • No ads

See what’s included

Sign in

C, 32-bit: int and pointers are 4 bytes