Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Function pointer?

Definition 4.7 University Computer Science — Year 1 · Bab 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.

Baca dalam konteks →