Qian Zhongshu and Yang Jiang were “________”, doing “reform through labor” in a “cadre school” in Henan from 1969 to 1972.
Qian Zhongshu and Yang Jiang were “________”, doing “reform through labor” in a “cadre school” in Henan from 1969 to 1972.
下列语句执行完,输出的结果为 。char a[5][10]={"student","worker","soldier","cadre","peasant"};char s1[10], s2[10];strcpy(s1,a[0]); strcpy(s2,a[0]);for(int i=1;i[5;i++) { if(strcmp(a[i], s1)]0) strcpy(s1,a[i]); if(strcmp(a[i], s2)<0) strcpy(s2,a[i]);}cout<<s1<<’ ’<<s2<<endl;[/i][/i][/i][/i]
下列语句执行完,输出的结果为 。char a[5][10]={"student","worker","soldier","cadre","peasant"};char s1[10], s2[10];strcpy(s1,a[0]); strcpy(s2,a[0]);for(int i=1;i[5;i++) { if(strcmp(a[i], s1)]0) strcpy(s1,a[i]); if(strcmp(a[i], s2)<0) strcpy(s2,a[i]);}cout<<s1<<’ ’<<s2<<endl;[/i][/i][/i][/i]
1