Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Function pointer » ?

Definition 4.7 University Computer Science — Year 1 · Chapitre 4 — Pointers and Arrays

A function pointer holds the address of a function together with its type: for example int (*f)(int, int) declares f as a pointer to a function taking two int and returning an int. The name of a function converts to a pointer to it, and a call f(6, 7) through the pointer calls the function it points to.

Lire dans le chapitre →