【单选题】【消耗次数: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()函数可以输出显示一个字符串。
①  正确
②  错误
随机题目
【单选题】 “If we fail to act now, “said Tom, “We’ll find ourselves _____in action later on.”
①  paid back
②  paid for
③  paid up
④  paid off
【单选题】 She resorted to _____ when she had no money to buy foods for her children.
①  have stolen
②  steal
③  stole
④  stealing
【单选题】 I wish to go home with you, _____?
①  may I
②  shall I
③  would I
④  can I
【单选题】 Setting up a committee might be a way _____the project more efficiently.
①  to be doing
②  doing
③  to do
④  being done
【单选题】 A series of robberies _____recently.
①  has been reported
②  has reported
③  have been reported
④  have reported
【单选题】 An institution that properly carries the name university is a more comprehensive and complex institution than any other kind of higher education _____.
①  settlement
②  establishment
③  construction
④  structure
【单选题】 Farmers are allowed to grow small gardens of their own and they sell their vegetables _____the black market.
①  on
②  at
③  in
④  for
【单选题】 A sheet of metal was shaken to _____ the sound of thunder.
①  stimulate
②  simulate
③  reproduce
④  duplicate
【单选题】 Feeling that she was in the right, she took _____at the dirty remark.
①  production
②  offense
③  defense
④  guard
【单选题】 The electric fan does not work because of the _____of service.
①  pause
②  break
③  interruption
④  breakdown