摘要:
#include <stdio.h> //从标准输入端(终端)读取 int scanf(const char *restrict format, ...); //从文件中读取 int fscanf(FILE *restrict stream, const char *restrict format, 阅读全文
摘要:
1. 函数指针是指针, 指向函数的指针 int (*p_fun)(int b, int c) 声明一个函数指针p_fun,它指向参数为int b, int c,返回值为int的函数。 int (*p_fun)(int, int) = NULL; //初始化指针为NULL 2. 指针函数是函数,返回值 阅读全文