#include <stdio.h>

typedef int (*pfun)(int a,int b);

int f(int a,int b)
{
    return printf("%d\n",a+b);
}

int main(void)
{
    pfun pfun = f;
    pfun(1,2);
    return 0;
}


  上面C语言片段中:
    pfun pfun = f;
    pfun(1,2);
  有问题么? 为什么?

女孩不哭 @ 2013-05-11 20:58:06 @ http://www.cnblogs.com/nbsofer

相关文章:

  • 2021-12-27
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2022-01-26
  • 2021-11-11
猜你喜欢
  • 2022-03-09
  • 2022-12-23
  • 2022-01-16
  • 2022-01-04
  • 2021-07-09
  • 2022-12-23
  • 2021-10-16
相关资源
相似解决方案