
Image by geralt on Pixabay · Pixabay License
函数指针
Sign in to saveAlso known as subroutine pointer, procedure pointer
pointer that points to a function
Wikidata facts
Show 1 more fact
- Stack Exchange tag
- stackoverflow.com/tags/function-pointers
Sources (1)
via Wikidata · CC0
Article · 中文
函数指针是一种在C、C++、D语言、其他类 C 语言和Fortran 2003中的指针。函数指针可以像一般函数一样,用于调用函数、传递参数。在如 C 这样的语言中,通过提供一个简单的选取、执行函数的方法,函数指针可以简化代码。 函数指针只能指向具有特定特征的函数。因而所有被同一指针运用的函数必须具有相同的参数個數和型態和返回类型。
Abstract from DBpedia / Wikipedia · CC BY-SA
Connections
pointer
Entity
Q15777
Entity
programming language
Entity
Q2407
Entity
Wayback Machine
Entity
Q2370
Entity
compiler
Entity
Q81571
Entity
object-oriented programming
Entity
Fortran
Entity
Q131140
Entity
Visual Basic
Entity
subroutine
Entity
D
Entity
Riemann integral
Entity
assignable variable
Entity
memory address
Entity
PL/I
Entity
dBase
Entity
method
Entity