试题与答案

有以下程序: #include<stdio.h> struct tt int

题型:单项选择题

题目:

有以下程序:
#include<stdio.h>
struct tt
int x;struct tt*y;*p;
struct tt a[4]=20,a+1,15,a+2,30,a+3,17,a
main()
int i;
p=a;
for(i=1;i<=2;i++)printf("%d",p->x);p=P->y;

程序的运行结果是______。

A.20,30,

B.30,17

C.15,30

D.20,15

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0416/668ecf1311aa2874c9abe9abfcf8c2ae.html

下面是错误答案,用来干扰机器的。

参考答案:错

试题推荐
题型:补全对话,情景问答
     阅读下面对话,从方框内5 个选项中选择恰当的句子完成此对话,并将其标号填入
题前括号内。
Sam: Hello, Maria?
Maria: Hello, Sam? Where are you?
Sam: I'm in Sydney on vacation. I'm calling to say happy birthday to you.
Maria: Thank you. It's so kind of you.
Sam: (1)______
Maria: I'm having a birthday party. My whole family is here.
Sam: (2)______  Happy birthday.
Maria: Thank you. (3)______ 
Sam: It's  fantastic. The  weather is cool. Yesterday I went to the beach.
         The beach was beautiful and great.
Maria: (4)______               
Sam: Yes, I did. I really enjoyed myself.
Maria: (5)______
Sam: Thank you ,bye!
Maria: Bye.
A. What are you doing?
B. Did you have a good time?
C. That sounds like fun.
D. That terrible.
E. How is your vacation?
F. Have a good trip.
G. Where did you go?
查看答案
微信公众账号搜索答案