总题库LOGO
  • 首页
  • 所有题库
  • 找答案
  • APP下载
  • 手机号登录
单项选择
  1. 首页
  2. 所有题库
  3. 计算机等级考试
  4. 单项选择
  5. 题目详情

下面程序的输出结果是( )。
#include<stdio.h>
#include<string.h>
main( )
char pl[20]="123 ", *p2="ABC ", str[50]="xyz";
strcpy(str+2, strcat(p1, p2) );
printf("%s/n", str);

A:xyzabzac B:bAcBACBC C:xy123ABC D:yz123ABC

  • <<
  • 1
  • 2
  • 3
  • 4
  • 5
  • >>
微信扫码获取答案解析
请使用微信扫码
下载APP查看答案解析

您可能感兴趣的题目

  • 1、

    下面程序运行后,输出的结果是( )。 Dim arr(3,3) For i=1 To 3 F

  • 2、

    下面程序段的输出结果是()。 int i=32770; printf("%d/n", i);

  • 3、

    下面程序输出的结果是( )。 #include<iostream> using namespa

  • 4、

    若i是int型变量,且有下面的程序段: for(i=4;i<6;i++) printf((i%2

  • 5、

    下面程序的输出结果是( )。 #define WW(X) X*X main( ) int

  • 6、

    下面程序运行后输出结果是( )。 For I=1 to 2   S=1  For j=0 t

  • 7、

    下面程序段的输出结果是( )。 int i=32770; printf("%d/n", i);

附近题目

现有格式化输入语句,scanf("x=%d,sum y=%d,line z=%dL",&x,&y,&

有以下程序: #include<stdio.h> main( ) FILE *fp;int a

有以下程序: #include<stdio.h> main( ) int c; while

有以下程序: #include<stdio.h> main( ) inc x=1,y=0,a

下列程序的运行结果为( )。 #include<stdio.h> void abc(char

有以下程序: #include<stdio.h> main( ) char c1,c2,c3,

有以下程序: #include<stdio.h> main( ) char a,b,C,d;

对长度为n的有序链表进行查找,最坏情况下需要比较的次数为______。

某二叉树中度为2的结点有18个,则该二叉树中有______个叶子结点。

______测试方法完全不考虑程序的内部结构和内部特征。

关系模型的数据操纵即是建立在关系上的数据操纵,一般有______、增加、删除和修改四种操作。

数据模型按不同的应用层次分为三种类型,它们是______数据模型、逻辑数据模型和物理数据模型。

设有定义:float x=1234567;,则执行以下语句后的输出结果是______。 print

有以下语句段: int n1=10,n2=20; printf("______",n1,n2);

有以下程序: #include<stdio.h> main( ) char ch1,ch2;i

以下程序的功能是:输出a、b、c三个变量中的最小值。请填空。 #include<stdio.h>

以下程序的功能是:输出a、b、c三个变量中的最小值。请填空。 #include<stdio.h>

以下程序运行后的输出结果是______。 main( ) int a=3,b=4,c=5,t=9

以下程序的输出结果是______。 main( ) int y=9; for(;y>0;y--

下面程序的功能是将一个字符串sfr的内容颠倒过来,请填空。 #include<string.h>

相关关键词
输出结果面试程序竣工结算程序结果
计算机等级考试APP下载
  • 联系我们 移动版
  • Copyright © 2015-现在 总题库(www.zongtiku.com) All Rights Reserved. ICP备案号:京ICP备13011314号-7