【单选题】【消耗次数:1】
一个二维字符数组a[M][N]能够至多存储( )个字符串。
M
N
M-1
N-1
参考答案:
复制
纠错
相关题目
【单选题】 一个二维字符数组a[M][N]能够至多存储( )个字符串。
①  M
②  N
③  M-1
④  N-1
【单选题】 当类中一个字符指针指向具有n个字节的存储空间时,它所存储字符串的最大长度是( )
①  n
②  n-1
③  n+1
④  n-2
【单选题】 当类中一个字符指针指向具有n个字节的存储空间时,它所存储字符串的最大长度是( )
①  n
②  n-1
③  n+1
④  n-2
【单选题】 对于一个长度为n的字符串,需要占用( )个字节。
①  n
②  n-1
③  n+1
④  n+2
【单选题】 对于一个长度为n的字符串,需要占用( )个字节。
①  n
②  n-1
③  n+1
④  n+2
【单选题】 字符串It\s\40an\40apple.\n中包含有( )个字符。
①  21
②  18
③  16
④  15
【单选题】 字符串It\s\40an\40apple.\n中包含有( )个字符。
①  21
②  18
③  16
④  15
【单选题】 在长度为n的字符串S的第i个位置插入另外一个字符串,i的合法值应该是( )。
①  i>0
②  i≤n
③  1≤i≤n
④  1≤i≤n+1
【判断题】 设m,n?N,(m,n)=1,则j(mn) = j(m)j(n).
①  正确
②  错误
【单选题】 设二维数组A[0…m-1][0…n-1]按行优先顺序存储在内存中,第一个元素的地址为p,每个元素占k个字节,则元素aij的地址为( )。
①  p +[i*n+j-1]*k
②  p+[(i-1)*n+j-1]*k
③  p+[(j-1)*n+i-1]*k
④  p+[j*n+i-1]*k
随机题目
【判断题】 A:The students work hard.B:So they do.So do they.以上两种回应表达的意义相同。
①  正确
②  错误
【判断题】 A: He doesnt speak French.B: 1. Nor do you2. Neither do you对话中B的两种回应意义不同。
①  正确
②  错误
【判断题】 Mary will win the prize.玛丽会赢得比赛。So she will. 是的,她会。以上句子对应的中文意思是否准确。
①  正确
②  错误
【单选题】 Anewtechnique______,theyieldsasawholeincreasedby20percent.
①  working out
②  having worked out
③  having been worked out
④  to have been worked out
【单选题】 The manager promised to keep me _____ of how our business was going on.
①  to be informed
②  on informing
③  informed
④  informing
【单选题】 The match was canceled because most of the members______a match without a standard court.
①  objected to having
②  were objected to have
③  objected to have
④  were objected to having
【单选题】 In Australia,_____ the Asians make their influence in businesses large and small.
①  feeling
②  feel
③  felt
④  to be felt
【单选题】 The teacher doesnt permit______in class.
①  smoke
②  to smoke
③  smoking
④  to have a smoke
【单选题】 Thechildrenwenttheretowatchtheirontower________.
①  to erect
②  erecting
③  be erected
④  being erected
【单选题】 Mr. Johnson preferred_______ heavier work to do.
①  to be given
②  to be giving
③  to have given
④  having given