- Modern C++:Efficient and Scalable Application Development
- Richard Grimes Marius Bancila
- 53字
- 2021-06-10 18:28:08
Function pointers
When an application is run, the functions it will call will exist in memory somewhere. This means that you can get the address of a function. C++ allows you to use the function call operator (a pair of parentheses enclosing the parameters ()) to call a function through a function pointer.