#include #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=0; i<5; i++) if(strcmp(x[i].name, "T") > 0) printf("%d\n", x[i].num); return 0;}
选项:
A:2;
B:3;
C:12345;
D:1
选项:
A:2;
B:3;
C:12345;
D:1
发布时间:2024-06-08 23:08:38