笔果题库
计算机二级C语言程序设计
VIP题库
搜题找答案,就上笔果题库
以下与数学表达式“0
搜题找答案,就上笔果题库
有以下程序#include main(){char c;while( ( c=getchar())!= ''\n'' ){switch( c-''2'' ){case 0 :case 1 : putchar( c+4 );case 2 : putchar( c+4 ); break;case 3 : putchar( c+3 );default : putchar( c+2 ); break;}}printf( "\n" );}程序运行后从第一列开始输入以下数据2473程序的输出结果是______。
搜题找答案,就上笔果题库
以下选项中,当x的绝对值在1至6范围内表达式值为"真"的是______。
搜题找答案,就上笔果题库
有以下程序#include main(){ int c=0,k;for(k=1;k
搜题找答案,就上笔果题库
以下程序运行时,若输入1949,则程序的输出是______。#include main(){ char c; do { scanf("%c",&c); if(c=='\n') break; switch(c>='5') { case 1: printf("%c",'L'); break; case 0: printf("%c",'S'); break; } }while(1); printf("\n");}
搜题找答案,就上笔果题库
整型变量X和Y的值相等,且为非0值,则以下选项中结果为0的表达式是______。
搜题找答案,就上笔果题库
有以下程序#include main(){int x;for( x=3; x
搜题找答案,就上笔果题库
有如下程序#include main(){int a = 0, b = 1;if (a++ && b++)printf("TRUE");elseprintf("FALSE");printf("_OUT:a=%d,b=%d\n", a, b);}程序运行后的输出结果是______。
搜题找答案,就上笔果题库
若有以下程序#include main(){ int a=1,b=2,c=3,d=4, r=0;if (a!=1) ; else r=1;if (b==2) r+=2;else; if (c!=3) r+=3;else; if (d==4) r+=4;printf("%d\n", r);}则程序的输出结果是______。
搜题找答案,就上笔果题库
有下列程序#include main(){ int a=654321,b;while(a){ b=a%10;a/=10;switch(b){ default:printf("%d",b++);case 1:printf("%d",b++);break;case 2:printf("%d",b++);case 3:printf("%d",b++);case 4:printf("%d",b++);break;case 5:printf("%d",b++);}}}执行后的输出结果是______。