国家开放大学 / C语言程序设计
#include
struct Worker {
char name[15]; int age; float pay;
};
void main() {
struct Worker x={"wanghua",34,4250};
struct Worker y, *p;
y=x; p=&x;
printf("%d %7.2f
", y.age p->age, p->pay 300);
}
struct Worker {
char name[15]; int age; float pay;
};
void main() {
struct Worker x={"wanghua",34,4250};
struct Worker y, *p;
y=x; p=&x;
printf("%d %7.2f
", y.age p->age, p->pay 300);
}
参考答案:
佳题速递: