题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-10-09 03:58:26

[填空题]以下程序运行后的输出结果是
#include <stdio, h>
main( )
int a=3,b=4,c=5,t=99;
if(b<a && a<c) t=a;a=c;c=t;
if(a<e && b<c) t=b;b=a;a=t;
printf( "%d %d %d //n" ,a,b,e);

更多"以下程序运行后的输出结果是 。 #include <stdio, "的相关试题:

[填空题]以下程序运行后的输出结果是
#include <stdio, h>
main ( )
char a [ ] = "Language", b [ ]: "Programe";
char * pl, * p2; int k;
p1=a;p2=b;
for(k=0;k<=7;k++)
if( * (p1 +k) == * (p2+k)) printf("% c", * (pi +k));

[单项选择]以下程序运行后的输出结果是
#include<stdio.h>
main( )
FILE *fp; char str[10];
 fp=fopen("myfile.dat", "w");
 fputs("abc", fp); fclose(fp);
 fp=fopen("myfile.data", "a++");
 fprintf(fp, "%d", 28);
 rewind(fp);
 fscanf(fp, "%s", str); puts(str);
 fclose(fp);

A. abc
B. 28c
C. abc28
D. 因类型不一致而出错
[填空题]以下程序运行后的输出结果是 【20】
#include <stdio.h>
main ( )
iht x=0210; printf("%x /n" ,x);

[填空题]以下程序运行后输出结果是 【20】 。 #include <stdio, h> main( ) { int a,b,c; a=10; b:20; c=(a%b<1) ‖ (a/b>1); printf("%d %d %d/n",a,b,c); }
[单项选择]以下程序运行后的输出结果是
#include<stdio.h>
main( )
int c=0, k;
 for(k=1; k<3; k++)
  switch(k)
   default: c+=k;
    case 2: c++; break; case 4: c+=2; break;
  
 printf("%d/n", c);

A. 3
B. 5
C. 7
D. 9
[填空题]以下程序运行后的输出结果是
#include <stdio.h>
main( )
int a[4] [4]= 1,2,3,4, 5’6’7’8,11’12’13’14,15’16’17’18 ;
int i=0,j =0,s =0;
while(i ++ <4)
if(i ==2 [[ i ==4) continue;
j=0;
do s+ = a[i][j]; j++; while(j<4);

pdnff(" % d’//n" ,s);

[填空题]以下程序运行后的输出结果是()。
#include <stdio.h>
main( )
int p=30;
printf("%d/n",(p/3>0 p/10:p%3));

[填空题]以下程序运行后的输出结果是 【7】 。 #include <stdio.h> main( ) { char m; m=’B’+32; printf("%c/n",m); }
[填空题]以下程序运行后的输出结果是 【19】 。 #include <stdio, h> main( ) char c1 ,c2; for( el =’ 0’, c2 =’9’; e1<c2; c1 + + , c2 -- ) printf(" %c%c", c1, c2 ); printf("/n" ); }
[填空题]以下程序运行后的输出结果是 【18】
#include <stdio.h>
main( )
int i,m=0,n=0,k=0;
for(i=9;i<=11;i++)
switch(i/10)
case 0: m++;n++;break;
case 10: n++;break;
default: k++;n++;

printf("%d%d%d/n",m,n,k);

[填空题]以下程序运行后的输出结果是 【17】
#include <stdio.h>
main( )
int p=30;
printf("%d/n",(p/3>0 p/10:p%3));

[填空题]以下程序运行后的输出结果是 【8】
#include <stdio.h>
main( )
int a=1,b=3,c=5;
if (c=a+b) printf("yes/n");
else printf("no/n");

我来回答:

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

订单号:

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