单选题:下列程序的输出结果是(  )。char *p1="abcd", *p2="ABCD", str[50]="xyz";

  • 题目分类:C语言
  • 题目类型:单选题
  • 号外号外:注册会员即送体验阅读点!
题目内容:
下列程序的输出结果是(  )。
char *p1="abcd", *p2="ABCD", str[50]="xyz";
strcpy(str+2,strcat(p1+2,p2+1));
printf("%s",str); A.xyabcAB
B.abcABz
C.ABabcz
D.xycdBCD

参考答案:【答案仅供学习,请勿对照自行用药等】
答案解析:

有N个学生,每个学生的信息包括学号、性别、姓名、四门课的成绩,从键盘上输入N个学生的信息,要求输出总平均成绩最高的学生信

有N个学生,每个学生的信息包括学号、性别、姓名、四门课的成绩,从键盘上输入N个学生的信息,要求输出总平均成绩最高的学生信息,包括学号、性别、姓名和平均成绩。

查看答案

回答题:A Phone That Knows You're BusyIt's a modem problem: you'

回答题:A Phone That Knows You're BusyIt's a modem problem: you're too busy to be

查看答案

Younger people in America seldom complain of sleep disorders

Younger people in America seldom complain of sleep disorders.A.Right B.Wrong C.N

查看答案

A great deal has been done to remedy the situation.

A great deal has been done to remedy the situation.A.maintain B.improve C.assess

查看答案

在经济生活中,如果一种商品或劳务的需求是由另一种或几种商品或劳务需求派生出来的,则称这种商品或劳务的需求为( )。

在经济生活中,如果一种商品或劳务的需求是由另一种或几种商品或劳务需求派生出来的,则称这种商品或劳务的需求为( )。A.派生性需求 B.衍生性需求 C.产生性需求

查看答案