Update func_pointer.cpp

This commit is contained in:
朱鸿 2023-02-27 20:14:01 +08:00 committed by GitHub
parent c68db8a229
commit 14ce911a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,5 +29,5 @@ int main(){
func pfun = myfunc;/*赋值*/
pfun();/*调用*/
pFun = glFun;
(*pFun)(2);
(*pFun)(2);
}