栈的数组表示中,top为栈顶指针,栈空的条件是()。
A.top=0
B.top=maxSize
C.top=maxSize
D.top=-1
参考答案:A
有以下程序: struct STU charname[10]; int num; float TotalScore; ; void f(struct STU *p) struct STU s[2]= "Zhongling",122,55 , "Liushuai",145,53 ,*q=s,*t=s; t=q;q=p;p=t; void main() struct STU s[3]= "Cuiyan",121,70 , "Liguijuan",123,58 ; f(s); printf("%s %d %3.0f\n",s[1].name,s[1].num,s [1].TotalScore); 程序运行后输出的结果是( )。
A.Zhongling 122 55 B.Liushuai 145 53C.Cuiyan 121 70 D.Liguijuan 123 58
下列设备中,()属于FIP网络:
A、ATC
B、IDU
C、ACU
D、DDU