摘要: #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 阅读全文
posted @ 2013-05-11 20:58 女孩不哭 阅读(465) 评论(5) 推荐(0) 编辑
摘要: #include <stdio.h>#include <string.h>int a;int a;char str[16];char str[16];int main(void){ strcpy(str,"女孩不哭!"); puts(str); return 0;}上面的代码有错误吗, 为什么?女孩不哭 @ 2013-05-11 20:50:24 @ http://www.cnblogs.com/nbsofer 阅读全文
posted @ 2013-05-11 20:51 女孩不哭 阅读(498) 评论(3) 推荐(0) 编辑