单项选择题

阅读如下程序段,则执行后程序的输出结果是
#include
main()
{structa{int x; int y;}num[2]={{20,5},{6,7}};
printf('%d\n',num[0].x/num[0].y*num[1].y);}
A.0
B.28
C.20
D.5

A.x/num[0].y*num[1].y);}
A.0
B.28
C.20
D.5
<上一题 目录 下一题>
热门 试题

单项选择题
若以下定义: struct link {int data; struct link *next; } a,b,c,*p,*q; 且变量a和b之间已有如下图所示的链表结构: 指针p指向变量a,q指向变量c。则能够把c插入到a和b 之间并形成新的链表的语句组是:A.a.next=c; c.next=b; B.p.next=q; q.next=p.next; C.p->next=&c; q->next=p->next; D.(*p).next=q; (*q).next=&b;
A.a.next=c;
B.next=b;
C.p.next=q;
D.next=p.next;
E.p->next=&c;
F.(*p).next=q;
G.next=&b;
单项选择题
阅读下面程序,则执行后的结果是 #include 'stdio.h' main() {char str[]='tomeetme',*p; for(p=str;p<str+7;p+=2) putchar(*p); printf('\n');}A.tomeetme B.tmem C.oete D.tome
A.h'
B.tomeetme
C.tmem
D.oete
E.tome
相关试题
  • The main idea of the story is tha...
  • When we dream,().
  • Which of the following is true?(...
  • Why do some people often dream abo...
  • If the patient is rational and pos...