题目内容

运行下列程序,输出结果是 。# include struct contry{int num;char name[20];}x[5]={1,"China",2,"USA",3,"France",4,"Englan",5,"Spanish"};int main____{int i;for (i=3;i<5;i++)printf("%d%c",x[i].num,x[i].name[0]);return 0;}

查看答案
更多问题

下面程序的输出结果是 。#include int main____{enum abc{ green=3,red };char clr[][10]={"red","blue","yellow","black","white", "green"};printf("%s and ",clr[green]);printf("%s",clr[red]);return 0;}

有以下说明定义语句,可用a.day引用结构体成员day,请写出引用结构体成员a.day的其它两种形式和。struct{int day;char mouth;int year;}a,*b;b=&a;

写出下列单词的复数形式:(1)book _________(2) bus________(3)tomato___________(4)piano________(5)tobacco___________

写出下列单词的复数形式:(1)leaf___________(2)baby__________(3)man____________(4)foot___________(5)crisis______

答案查题题库