【判断题】【消耗次数:1】
串是n个字母的有限序列(n≥0 )。
正确
错误
参考答案:
复制
纠错
相关题目
【单选题】 对于一个长度为n的字符串,需要占用( )个字节。
①  n
②  n-1
③  n+1
④  n+2
【单选题】 对于一个长度为n的字符串,需要占用( )个字节。
①  n
②  n-1
③  n+1
④  n+2
【单选题】 一个二维字符数组a[M][N]能够至多存储( )个字符串。
①  M
②  N
③  M-1
④  N-1
【单选题】 一个二维字符数组a[M][N]能够至多存储( )个字符串。
①  M
②  N
③  M-1
④  N-1
【单选题】 下面程序的功能是将从键盘输入的一组字符统计出大写字母的个数m和小写字母的个数 n,并输出m、n中的较大数,则括号内应填写( )。 #include main() { int m=0,n=0; char c; while( )!=\n) { if(c>=A&&c=a&&c<=z) n++; } printf(%d\n,m<n? n:m );
①  C
②  c=getchar()
③  getchar()
④  c==getchar()
【判断题】 串中任意个字符组成的子序列称为该串的子串
①  正确
②  错误
【单选题】 字符串It\s\40an\40apple.\n中包含有( )个字符。
①  21
②  18
③  16
④  15
【单选题】 字符串It\s\40an\40apple.\n中包含有( )个字符。
①  21
②  18
③  16
④  15
【单选题】 英文字母N是( )
① 
②  西
③ 
④ 
【单选题】 当类中一个字符指针指向具有n个字节的存储空间时,它所存储字符串的最大长度是( )
①  n
②  n-1
③  n+1
④  n-2
随机题目
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/A793623C0A1154C6652EA4D7CC351C58.png" title="2.png" alt="2.png"/>[填空1]
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/7D4AEBB90BC006A22EE6EBEB553748C5.png" title="5.png" alt="5.png"/><img src="https://huaweicloudobs.ahjxjy.cn/D1368CFD26378C41B48B70EB0167B92F.png" title="6.png" alt="6.png"/>[填空1],<img src="https://huaweicloudobs.ahjxjy.cn/4082DCA8290A99E9AA41AE3C7E2DA1FF.png" title="7.png" alt="7.png"/>[填空2]。
【简答题】 Translate the following sentence into English.直到20世纪早期女性才有投票权。
【简答题】 Translate the following sentence into ChineseI hope that the effort that weve made will be of some use to the battle against AIDS.
【简答题】 Directions: Fill in the blanks with the words given below. Change the form if necessary.[fee; react; expand; besides; quantity; stay; highly; device; customer; commercial]3. The chairman speaks[填空1]of his secretary.
【简答题】 Direction: Fill in the blanks with the wordsor phrasesgiven below. Change the form if necessary.[tender; suffer; in anxiety; crave; choke; plague; with a sigh; dull; nonsense; threshold]10. Mrs.Archer shook her head[填空1].
【简答题】 简述记账凭证核算组织程序的定义及步骤。
【简答题】 会计的两大基本职能各是什么?两者之间的关系是什么?
【简答题】 什么是借贷记账法?借贷记账法的主要内容有哪些?
【简答题】 会计科目按其提供指标的详细程度,或者说提供信息的详细程度,可以分为[填空]和[填空]两类。