【单选题】【消耗次数:1】
将两个字符串连接起来组成一个字符串时,选用的函数是?
strlen()
strcap()
strcat()
strcmp()
参考答案:
复制
纠错
相关题目
【单选题】 将两个字符串连接起来组成一个字符串时,选用( )函数。
①  strlen()
②  strcap()
③  strcat()
④  strcmp()
【单选题】 将两个字符串连接起来组成一个字符串时,选用( )函数。
①  strlen()
②  strcap()
③  strcat()
④  strcmp()
【单选题】 两个字符串相等的条件是( )。
①  两串的长度相等
②  两串包含的字符相同
③  两串的长度相等,并且两串包含的字符相同
④  两串的长度相等,并且对应位置上的字符相同
【单选题】 两个字符串相等的条件是( )。
①  两串的长度相等
②  两串包含的字符相同
③  两串的长度相等,并且两串包含的字符相同
④  两串的长度相等,并且对应位置上的字符相同
【单选题】 两个字符串相等的条件是( )。
①  A.两串的长度相等
②  B.两串包含的字符相同
③  C.两串的长度相等,并且两串包含的字符相同
④  D.两串的长度相等,并且对应位置上的字符相同
【单选题】 从一个字符串中的第3个字符开始,获取5个字符,应使用()。
①  Len函数
②  .Mid函数
③  Left函数
④  Right函数
【单选题】 若需要把一个字符串aaa赋值到字符数组a中,则需要进行( )的函数调用实现。
①  strlen
②  strcmp
③  strcat
④  strcpy
【单选题】 若需要把一个字符串aaa赋值到字符数组a中,则需要进行( )的函数调用实现。
①  strlen
②  strcmp
③  strcat
④  strcpy
【单选题】 设有一个字符串S=Welcome to Shenyang!,问该串的长度为( )。
①  18
②  19
③  20
④  21
【判断题】 C语言标准输入输出中,putchar()函数可以输出显示一个字符串。
①  正确
②  错误
随机题目
【单选题】 In the first sentence, “by no means” means ____.
①  without method
②  not at all
③  absolutely
④  above all
【单选题】 You’ll be late, ______ you start at once.
①  or
②  if
③  and
④  unless
【单选题】 The article ______ in French were impossible for me to read.
①  written
②  writing
③  write
④  wrote
【单选题】 Is this ______ looking for?
①  you are
②  that you are
③  what you are
④  what are you
【单选题】 According to the author, in order to have a good command of English one must ____.
①  employ as many learning strategies as possible
②  expect to gain an easier task
③  exert oneself constantly
④  sustain oneself
【单选题】 Mr. Brown had hardly said a word since supper,___ had his wife.
①  either
②  or
③  nor
④  so
【单选题】 The teacher asked ______ students to do homework ourselves.
①  the
②  his
③  some
④  us
【单选题】 ______ bad cold she spent the entire day in bed.
①  As if
②  Even though
③  In addition
④  Due to
【单选题】 Modesty helps one to go forward, ______ conceit makes one lag behind.
①  whenever
②  only if
③  whereas
④  consequently
【单选题】 A pen pal provides good motivation for your writing because he or she ____.
①  lives far away from you
②  knows China a lot so that you can have a lot to talk about
③  also keeps a diary
④  may inform you of many interesting things in his or her culture