首页/ 题库 / [单选题]有如下定义:struct person{的答案

有如下定义:struct person{char name[9]; int age;};struct person class[10]={“Johu”, 17,“Paul”, 19,“Mary”, 18,“Adam 16,};根据上述定义,能输出字母M的语句是 ( )

单选题
2021-09-08 14:03
A、 prinft(“%c\n”,class[3].mane);
B、 pfintf(“%c\n”,class[3].name[1]);
C、 prinft(“%c\n”,class[2].name[1]);
D、 printf(“%c\n”,class[2].name[0]);
查看答案

正确答案
D

试题解析

感兴趣题目
设a=2,b=3,c=4,d=5,下列表达式的值是( )。 3>2*b Or a=c And bc Or ba+c
设t=2,b=3,c=4,d=5,则下面语句输出的是( )。 Print3>2*b Or a=c And b<>c Or c>d
设a2,b=3,c=4,d=5,则下面语句的输出是Print 3>2*b Or a=c And b<>c Or c>d
设t=2,b=3,c=4,d=5,则下面语句输出的是( )。 Print3>2*b Or a=c And bc Or c>d
设a=2,b=3,c=4,d=5,下列表达式的值是( )。 3>2*b Or a=c And b<>c Or b<>a+c
下列程序段运行后窗体上输出结果为( )。 Private Sub Command1_Click() a=5: b=4: c=3: d=2 x=3>2*b Or a=c And b<>c Or c>d Print x End Sub
下列程序段运行后窗体上输出结果为( )。 Private Sub Command1 Click() a=5:b=4:c=3:d=2 X=3>2*b Or a=c And b<>C Or c>d Print X End Sub
设a=′′a′′,b=′′b′′,c=′′c′′,d=′′d′′,执行语句x=IIf((ad),′′A′′,′′B′′)后,x的值为(  )。
某C语言结构体的定义如下。 struct date { int year, month, day; }; struct worklist { char name[20]; char sex; struct date birthday; }person; 若对变量person的出生年份进行赋值,正确的赋值语句是(33)。
有如下定义struct person {char name[9];int age;};struct person class[10]={"John",17,"paul",19,"Mary",18,"Adam",16,};根据上述定义,能输出字母M的语句是
有如下定义: struct person {char name[9];int age;}; struct person class[10]={"John",17,"paul",19,"Mary",18,"Adam",16}; 根据上述定义,能输出字母M的语句是( )。
有如下定义struct person{char name[9];int age;};struct person class[10]={"John",17,"paul",19,"Mary",18,"Adam",16,};根据上述定义,能输出字母M的语句是
相关题目
函数 青书学堂.png 的定义域为
Ask Mr. Brown, or any other person ______.
函数 青书学堂.png 的定义域为
_________ in a person’s speech or writing usually ranges on a continuum from casual or colloquial to formal or polite according to the type of communicative situation.
在16位IBM-PC机上使用C语言,若有如下定义: struct data{int i;char ch;double f;}b; 则结构变量b占用内存的字节数是( ).
- What does the sign over there read - “No person ________ smoke or carry a lighted cigarette, cigar or pipe in this area”
有如下定义:struct person{char name[9]; int age;};struct person class[10]={“Johu”, 17,“Paul”, 19,“Mary”, 18,“Adam 16,};根据上述定义,能输出字母M的语句是 ( )
CASE OF DEATH OR SERIOUS INJURY TO A PERSON IN AN ACCIDENT OR SHIPPING DISASTER is().
设a=5,b=4,c=3,d=2,则表达式3>2*b Or a=c And b<>c Or c>d的值是
设a=5,b=4,c=3,d=2,则表达式3>2*b Or a=c And b<>c Or c>d的值是
The Urgency Signal()indicates that the station calling has a very urgent message to transmit concerning the safety of a ship or aircraft,or of some person on board or within sight.
()means any person by whom or in whose name or on whose behalf a contract of carriage of goods by sea has been concluded with a carrier,or any person by whom or in whose name or on whose behalf the goods are actually delivered to the carrier in relation to the contract of carriage of goods by sea.
设a=2,b=3,c=4,d=5,表达式3>2*b or a=c and b<>c or c>d的值是( )
设a=5,b=4,c=3,d=2,则表达式3>2术b Or a=c And b<>c Or c>d的值是
设a=5,b=4,c=3,d=2,下列表达式的值是 3>2*b Or a=c And b<>C Or c>d
设a=5,b=4,c=3,d=2,则表达式3>2*b Or a=c And b<>c Or c>d的值是
设a=5,b=4,c=3,d=2,下列表达式的值是( )。 3>2*b Or a=c And b<>c Or c>d
设a=5,b=4,c=3,d=2下列表达式的值是 3>2*b Or a=c And b<>C Or c>d
设a=5,b=4,c=3,d=2下列表达式的值是( )。3 > 2 * b Or a = c And b <> c Or c > d
设a=5,b=4,c=3,d=2,下列表达式的值是 3>2*b Or a=c And b<>c Or c>d
广告位招租WX:84302438

免费的网站请分享给朋友吧