第七章:
7.12.13
struct applicant {
char name[30];
int credit_ratings[3];
};
假设函数 f1() 和 f2()的原型如下:
void f1(applicant *a);
const char * f2(const applicant * a1, const applicant * a2);
请将p1和p2分别声明为指向 f1 和 f2 的指针;将ap声明为一个数组,它包含5个类型与 p1 相同的指针;将pa声明为一个指针,它指向的数组包含10个类型与p2相同的指针。使用typedef 来帮助完成这项工作。