题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-10-14 23:19:40

[单项选择]下列程序的输出结果是( )。
#include<stdio.h>
main( )
int a=4;
print f("%d/n",(a+=a-=a*
A. );

更多"下列程序的输出结果是( )。 #include<stdio."的相关试题:

[单项选择]以下程序的输出结果是( )。
#include <stdio.h>
main( )
int a=21,b=11;
printf("%d/n",--a+b,--b+
A. ;
[单项选择]下述程序的输出结果是( )。
#include<stdio.h>
main( )
int i;
for(i=1;i<=10;i++)
if(i*i>=20)&&(i*i<=100))
break;

printf("%d/n",i*i);

A. 49
B. 36
C. 25
D. 64
[单项选择]下列程序的输出结果是( )。

#include<stdio.h>

main( )

char a[]='a','b','c','d','e','f','/0';

int i,j;

i=sizeof(
A. ;
B. 7,6
C. 6,6
D. 6,7
[单项选择]下列程序的输出结果是( )。
#include<stdio.h>
main( )
int a=3,b=2,c=1;
if(a<B)
if(b<0) c=0;
else c++;
printf("%d/n",C) ;

A. 0
B. 2
C. 1
D. 3
[单项选择]以下程序运行后的输出结果是
#include <stdio.h>
main( )
char a=4:
printf("%d/n",a=a<<1);

A. 40
B. 16
C. 8
D. 4
[单项选择]下列程序的输出结果是( )。
#include<stdio.h>
main( )
int i, s=0;
for(i=1; i<10; i++)
if(!(i%2)&&!(i%3))s+=i;
printf("%d/n", s);

A. 4
B. 39
C. 45
D. 6
[单项选择]以下程序运行后的输出结果是
#include<stdio.h>
main( )
int i,j;
for(i=3;i>=1;i--)
for(j=1;j<=2;j++)printf("%d",i+j);
printf("/n");


A. 2 3 4
B. 4 3 2
C. 2 3
D. 4 5
[单项选择]以下程序运行后的输出结果是
#include<stdio.h>
main( )
int x=1,y=2,z=3;
it(x>y)
if(y<z) printf("%d",++z);
else printf("%d",++y);
printf("%d/n",x++);

A. 331
B. 41
C. 2
D. 1
[单项选择]下述程序执行的输出结果是( )。
#include<stdio.h>
main( )
char a[2][4];
strcpy(a,"are");strcpy(a[1], "you");
a[0][3]='&';
printf("%s/n",a);

A. are&you
B. you
C. are
D. &
[单项选择]下列程序执行的输出结果是( )。

#inClude<stdio.h>

main( )

char a[2][4];

strcpy(a,"are");strcpy(a[1],"you");

a[0][3]='&';

printf("%s/n",
A. ;
B. you
C. are
D. &
[单项选择]以下程序的输出结果是______。
#include<stdio.h>
main( )
int a=200;
#define a 100
printf("%d",
A. ;
[单项选择]以下程序的输出结果是_______。
#include<stdio.h>
main( )
int i;
for(i=1;i<5;i++)
if(i%2)printf("*");
else continue;
printf("#");

printf("$/n");

A. *#*#*#$
B. #*#*#*$
C. *#*#$
D. #*#*$
[单项选择]下面程序输出的结果是( )。
#include<iostream>
using namespace std;
void main( )
char ch[][8]="good","better","best";
for(int i=1;i<3;++i)

cout<<ch[i]<<endl;


A. good
B. better
C. good
D. good
[单项选择]下面程序输出的结果是
  #include<iostream.h>
  voidmain( )
  inti;
    inta[3][3]:1,2,3,4,5,6,7,8,9;
    for(i=0;i<3;i++)
    cout<<a[2-i][i]<<"";

A. 159
B. 753
C. 357
D. 591
[单项选择]下列程序的输出结果是( )。
#include<stdio.h>
#include<string.h>
main( )
char a[]="/n123//";
printf("%d,%d/n",strlen(
A. ,sizeof(a));
[单项选择]下列程序的输出结果是
class Test
public static void main(String args[])
int n=7;
n<<=3;
n=n&n+1|n+2^n+3;
n>>=2;
System.out.println(n);


A. 0
B. -1
C. 14
D. 64
[单项选择]以下程序的输出结果是( )。
#include<iostream>
using namespace std;
int main( )

cout.fill('*');
cout.width(5);
cout<<hex<<100<<endl;
return ( );

A. **100
B. ***64
C. 100**
D. 64***
[单项选择]以下程序的输出结果是( )。
#include <iostream>
using namespace std;
int main( )
int a=1,b;
switch(
[单项选择]下面程序的输出结果是( )。
#include<iostream>
using namespace std;
void main( )
char cl='a',c2='c';
cout.put('a').put('c').put('/n');
cout.put(c1).put(c2);

A. ac
B. ac
C. a
D. a

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码