Update func_pointer.cpp
This commit is contained in:
parent
c68db8a229
commit
14ce911a7c
@ -29,5 +29,5 @@ int main(){
|
||||
func pfun = myfunc;/*赋值*/
|
||||
pfun();/*调用*/
|
||||
pFun = glFun;
|
||||
(*pFun)(2);
|
||||
(*pFun)(2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user