Function Pointers

Function pointer

Function pointers are pointers that reference executable code, allowing different code to be executed at runtime. They can also be passed to a function to enable callbacks and are supported by many programming languages. Dereferencing the pointer yields the referenced function which can then be invoked with arguments.

2 courses cover this concept

CS 164: Programming Languages and Compilers

UC Berkeley

Fall 2022

Explores how compilers translate high-level languages into machine-understandable code, offering practical experience with developing compilers for various languages. Also covers reasoning about compiler correctness and understanding runtime errors.

No concepts data

+ 28 more concepts

CS 107 Computer Organization & Systems

Stanford University

Autumn 2022

This Stanford University course delves into the depths of computer systems and programming. It continues from the introductory sequence, expanding students' programming experience using the C language, exploring machine-level code, computer arithmetic, memory management, and more.

No concepts data

+ 25 more concepts