欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

GCTL模型中的T指的是(   )。
A、图形
B、色彩
C、字体
D、排版

点击查看答案

相关考题

单项选择题
下面程序的功能是用字符指针变量作函数参数编程实现字符串连接函数strcat()的功能,将字符串srcStr连接到字符串dstStr的尾部。
程序的运行结果如下:
Please enter the source string:abcd↙
Please enter the other string:efgh↙
The concat is:
abcdefgh
按要求在空白处填写适当的表达式或语句,使程序完整并符合题目要求。#include  void  MyStrcat(char *dstStr, char *srcStr); int main() {     char  s[80];  //源字符串     char  t[80];  //待连接字符串     printf("Please enter the source string: ");     gets(s);     printf("Please enter the other string: ");     gets(t);  //输入字符串     MyStrcat(s, t);  //将字符数组t中的字符串连到s的尾部     printf("The concat is:");     puts(s);  //输出连接后的字符串s     return 0; } void  MyStrcat(char *dstStr, char *srcStr)   //用字符指针作为函数参数 {     while (__________)     {         dstStr++;     }     while (*srcStr != '\0')  //若srcStr所指字符不是字符串结束标志     {          _________; //将srcStr所指字符复制到dstStr所指的存储单元中         srcStr++;  //使srcStr指向下一个字符         dstStr++; //使dstStr指向下一个存储单元     }      _____________; //在字符串dstStr的末尾添加一个字符串结束标志 }
A.第19行: dstStr != '\0'
第25行: dstStr =  srcStr
第29行: *dstStr = '\0'
B.第19行: *dstStr == '\0'
第25行: *dstStr = * srcStr
第29行: *dstStr = '\n'
C.第19行: *dstStr != '\0'
第25行: *dstStr = * srcStr
第29行: *dstStr = '\0'
D.第19行: dstStr == '\0'
第25行: dstStr =  srcStr
第29行: *dstStr = '\n'
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题