1
#include "stdio.h" 2 3 int Yao(float a, float b) 4 { 5 printf("Yao\n"); 6 return a + b; 7 } 8 9 void myCallback(int (*perfect)(float ,float )) 10 { 11 printf("%d\n", perfect(6,7)); 12 } 13 14 void main() 15 { 16 myCallback(Yao); 17 }

相关文章:

  • 2022-01-02
  • 2021-08-18
  • 2022-01-12
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-17
  • 2021-07-14
  • 2022-01-10
  • 2022-01-09
  • 2021-12-02
  • 2021-07-10
相关资源
相似解决方案