摘要: //函数回调 //函数名表示函数的地址 #include<stdio.h> void print(int i) { printf("%d ",i); } void foreach(int A[],int n,void (* pFunc)(int i)) { for(int j=0;j<n;j++) 阅读全文
posted @ 2022-01-08 15:24 磐正 阅读(30) 评论(1) 推荐(0)