A-A+

#includestruct Worker{char name[15] ; //姓名int

2022-08-14 19:24:11 问答库 阅读 204 次

问题详情

#include
struct Worker{
char name[15] ; //姓名
int age; //年龄
float pay; //工资
};
void main(){
Workerx ={“wangfong",46,2650};
Worker y,*p;
y=x;p=&x;
cout<pay*2<}
输出结果:

参考答案

参考答案56 5300
 

考点:姓名