C Language Function Pointers

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!


Function pointers are pointers that point to functions instead of data types. They can be used to allow variability in the function that is to be called, at run-time.


  • returnType (*name)(parameters)

  • typedef returnType (*name)(parameters)

  • typedef returnType Name(parameters);
    Name *name;

  • typedef returnType Name(parameters);
    typedef Name *NamePtr;

Got any C Language Question?