单选题:有以下程序#include<stdio.h>struct tt{int x;struct tt*y;)*P;struc

  • 题目分类:C语言
  • 题目类型:单选题
  • 号外号外:注册会员即送体验阅读点!
题目内容:
有以下程序
#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,

参考答案:
答案解析:

若有定义“double a;”,则正确的输入语句是(  )。

若有定义“double a;”,则正确的输入语句是(  )。A.scan{(”%if”,a); B.scanf(”%f”,&a); C.scan{(”%If”,

查看答案

若有以下程序段,W和k都是整型变量::w=k:LB:if(w==0)go to LE;W——:printf(”*”)go

若有以下程序段,W和k都是整型变量::w=k:LB:if(w==0)go to LE;W——:printf(”*”)goto LB:LE;则不能

查看答案

回答题:Item 20 in this catalogue is withdrawn until further not

回答题:Item 20 in this catalogue is withdrawn until further notice due to supply

查看答案

The immediate consequence of the new capitalists' practice

The immediate consequence of the new capitalists' practice isA.loss of corpora

查看答案

根据下列材料,回答题Mistakes are the things that:nobody wants,but we s

根据下列材料,回答题Mistakes are the things that:nobody wants,but we still make mistakes

查看答案