This is a declaration of a function pointer 'fp2'. It is a pointer to a function that takes three 'int' arguments and returns a pointer to a function that takes an 'int' argument and returns a 'float'.

Here's a breakdown of the declaration:

  • '(* fp2)' - 'fp2' is a pointer
  • 'int,int,int' - The function that 'fp2' points to takes three 'int' arguments
  • '(( fp2)(int,int,int))' - The function that 'fp2' points to returns a pointer
  • '(int)' - The function that the returned pointer points to takes an 'int' argument
  • 'float' - The function that the returned pointer points to returns a 'float'
C Function Pointer Declaration: Returning a Function Pointer

原文地址: http://www.cveoy.top/t/topic/nJS 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录