考题
–When is the National Day of China? –____________________.
(A) It’s January 1st(B) It’s October 1st(C) It’s May 1st(D) It’s August 1st
考题
以下正确的程序段是A.char str1[ ]="12345", str2[ ]="abcdef";B.char str[10],*st="abcde";strcat(str,st);C.char str[10]=" "。*st="abcde";strcat(str,st);D.char *st1="12345", *st2="abcde";strcat(st1, st2);
考题
若要同时建立两个目录st1和st2,下列命令错误的是()。A.mkdirst1/st2B.mkdirst1st2C.mkdir–pst1/st2D.mkdir–pst1st2
考题
判断一个栈ST(最多元素为Maxsize)为满的条件是()。A.ST->top!==-1B.ST->top==-1C.ST->top!==Maxsize-1D.ST->top==Maxsize-1
考题
以下正确的程序段是A.char str1[ ]="12345",str2[ ]="abcdef";B.char str[10],*st="abcde";strcat(str,st);C.char str[10]=" "。*st="abcde";strcat(str,st);D.char*st1="12345",*st2="abcde";strcat(st1,st2);
考题
判定一个顺序栈st为(元素个数最多为MaxSize)为栈满的条件为 _______。A.st.top!==-1B.st.top=-1C.st.top=st.baseD.st.top==MaxSize-1
考题
【多选题】若要同时建立两个目录st1和st2,下列命令错误的是()A.mkdir st1/st2B.mkdir st1 st2C.mkdir –p st1/st2D.mkdir –p st1 st2
考题
以下正确的程序段是()。A.char str1[]="12345",str2[]="abcdef";strcpy(str1,str2);B.char str[10], *st="abcde"; strcat(str,st);C.char *st1="12345", *st2="abcde""; strcat(st1,st2);D.char str[10]="", *st="abcde";strcat(str,st);
考题
【单选题】判断字符串st1和st2是否相等,应使用:()A.if(st1=st2)B.if(st1==st2)C.if(strcpy(st1,st2))D.if(strcmp(st1,st2)==0)