根据下面的定义,能输出字母Mary的语句是()。struct person{char name[10]; int age; };
struct person class[10]={{“John”,18},{“Paul”,19},{“Mary”,17} };
A: cout<
struct person class[10]={{“John”,18},{“Paul”,19},{“Mary”,17} };
A: cout<
举一反三
- 根据下面的定义,能打印出字母M的语句是( )。 struct person { char name[9]; int age;}; struct person class[10]={"John",17,"Paul",19,"Mary",18,"Adam",16}; A: cout<
- 中国大学MOOC: 根据下面的定义,能输出字母M的语句为( )。struct person{ char name[9]; int age;};struct person class[10]={{“John”,17},{“Paul”,19},{“Mary”,18}};
- 根据下面的定义,能打出字母M的语句是( )。 struct person { char name[9]; int age; } struct person class[10]={ 〞John〞,17, 〞Paul〞,19, 〞Mary〞,18, 〞Adam〞,16};
- 根据下面的定义,能输出 Mary 的语句是 。 struct person { char name[9]; int age; }; struct person class[5]={"John",17,"Paul",19,"Mary",18,"Adam",16};
- 中国大学MOOC: 根据以下的定义:struct person {char name[9]; int age;};struct person class[10] = {John, 17, Paul, 19, Mary, 18, Adam, 16};能输出字母M的语句是( )。