C/C++ code?12345678910111213typedef void (*func_thread)(void *); func_thread print_count; void testFunc(void *p){ printf("%s",p);};int main(){ print_count = testFunc; char* s……
typedef void (*func_thread)(void *); func_thread print_count; void testFunc(void *p) { printf("%s",p); }; int main() { print_count = testFunc; char* str = "callback"; print_count(str); return 0; }
69,373
社区成员
243,080
社区内容
加载中
试试用AI创作助手写篇文章吧