-
运行下列程序段,输出结果是( )。Struct country{ int num;Char name20];}x5]={1, "China", 2, "USA", 3, "France", 4, "England", 5, "Spanish"};Struct country *p;P=x+2;Printf("%d,%s",p->num,x0].name); 选项: A:2,France B:3,France C:4,England D:3,China
-
运行下列程序段,输出结果是_.#include using namespace std;struct country {int num;char name[20];}x[5]={1,"China",2,"USA",3,"France",4,"England",5,"Spanish"};void main(){struct country *p;p=x+2;cout
-
-10、运行下列程序段,输出结果是( )。
struct country
{
int num;
char name10];
}s5]={ 1,"China",2,"USA",3,"France",4,"England",5,"Spanish"};
语句printf("%d,%c",s2].num, s2].name);的输出结果为( )。 选项: A:3,France B:2,USA C:4,England D:5,Spanish
-
运行下列程序,输出结果是[BlankArea1]。struct contry{ int num; char name[20];}x[5]={1,"China",2,"USA",3,"France",4,"England",5,"Spanish"};main(){ int i; for (i=3;i<5;i++) printf("%d%c",x[i].num,x[i].name[0]);}
-
运行下列程序段,输出结果是__1__。
#include
using namespace std;
struct country
{
int num;
char name20];
}x5]={1, "China", 2, "USA", 3, "France", 4, "England", 5, "Spanish"};
void main()
{
struct country *p;
p=x+2;
cout
-
运行下列程序,输出结果是( )。 struct Stu { int num; char name[10]; } x[5]= {1,"Iris",2,"Jack",3,"John",4,"Mary",5,"Tom"}; int main() { struct Stu *p=x+2; printf("%d%s\n",p->num,p->name); return 0; } 选项: A、2Jack B、3John C、4Mary D、3J
-
运行下列程序,输出结果是( )#include <stdio.h>struct country{ int num; char name[20];};struct country x[5]={1,"China",2,"USA",3,"France",4,"Englan",5,"Spanish"};void main( ){ int i; for(i=3;i<5;i++) printf("%d%c",x[i].num, x[i].name[0]);}选项: A:3F4E5S; B:4E5S; C:F4E; D:c2U3F4E
-
运行下列程序,输出结果是( )#include <stdio.h>struct contry{ int num; char name[20];}x[5]={1,"China",2,"USA",3,"France",4,"Englan",5,"Spanish"};void main( ){ int i; for(i=2;i<5;i++) { printf("%d%c",x[i].num, x[i].name[0]); }}选项: A:3F4E5S; B:4E5S; C:F4E; D:C2U3F4E
-
运行下列程序,输出结果是( )struct contry{ int num; char name[20];}x[5]={1,"China",2,"USA",3,"France",4,"Englan",5,"Spanish"};main(){ int i; for (i=3;i<5;i++) printf("%d%c",x[i].num,x[i].name[0]);}选项: A:3F4E5S ; B:4E5S; C:F4E ; D:c2U3F4E
-
2.运行下列程序,输出结果是【 】 struct contry{ int num; char name[20];}x[5]={1,"China",2,"USA",3,"France",4,"Englan",5,"Spanish"};main(){ int i; for (i=3;i<5;i++) printf("%d%c",x[i].num,x[i].name[0]);}选项: A:3F4E5S ; B:4E5S ; C:F4E ; D:c2U3F4E