注意:此页面搜索的是所有试题
题目内容
(国家开放大学C语言程序设计)
#include<stdio.h>
struct Worker {
char name[15]; //姓名
int age; //年龄
float pay; //工资
};
void main() {
struct Worker x={"wanghua",52,4300};
struct Worker y, *p;
y=x; p=&x;
printf("%s %d %6.2f\n",x.name,y.age,p->pay);
}
简答题 (
struct Worker {
char name[15]; //姓名
int age; //年龄
float pay; //工资
};
void main() {
struct Worker x={"wanghua",52,4300};
struct Worker y, *p;
y=x; p=&x;
printf("%s %d %6.2f\n",x.name,y.age,p->pay);
}
简答题 (
参考答案