皮皮学,免费搜题
登录
搜题
【单选题】
存储器中用于存放调用程序的现场及参数的存储区是( )。
A.
堆栈
B.
缓冲区
C.
数据区
D.
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】以下程序执行时,若从键盘上输入282828.48abc后,输出结果是 ______。 #include int main( ) { int a,b; float x,y; char c1,c2; scanf("%d%d",&a,&b); scanf("%f%f",&x,&y); scanf("%c%c",&c1,&c2); printf("a=%d,b=%d,x=%f,y=%f,c1=%...
【简答题】#include void main() {int a,b; float x,y; char c1,c2; scanf("a=%d b=%d",&a,&b); scanf("%f %e",&x,&y); scanf(" %c %c",&c1,&c2); printf("a=%d,b=%d,x=%f,y=d%f,c1=%c,c2=%c\n",a,b,x,y,c1,c2); } 假定输入 a=3 b...
【简答题】用下面的scanf函数输入数据,使a=3,b=7,x=8.5,y=71.82,问在键盘上如何输入? #include int main() { int a,b; float x,y; scanf("a=%d b=%d",&a,&b); scanf("%f %f",&x,&y); printf("%d %d %f %e", a, b, x, y); return 0; }
【单选题】已有如下程序定义和输入语句,要求输入变量a,b,c,d的值分别为 10,'a','b',1234.56,当从屏幕的第一列开始输入数据,程序的输出如下: a=10 b=a c=b d=1234.560000 则下列正确的数据输入方式是________。 #include int main() { int a; char b,c; double d; scanf("a=%d",&a); getc...
A.
a=10 a c=b 1234.56
B.
a=10 'a' c='b' 1234.56
C.
10 ab 1234.56
D.
a=10a c=b1234.56
【简答题】运行以下程序时,如从键盘上输入: a=3,b=5 35,35.12 abc 后,结果是___; main() { int a,b; float x,y; char c1,c2; scanf("a=%d,b=%d",&a,&b); scanf("%f,%e",&x,&y); scanf("%c%c%c",&c1,&c1,&c2); printf("a=%d,b=%d,x=%f,y=%f,c...
【简答题】以下叙述正确的是 A)输入项可以是一个实型常量,如: scanf("%f".3.5); B)只有格式控制,没有输入项,也能正确输入数据到内存,例如: scanf("a=%d,b=%d); C)当输入一个实型数据时,格式控制部分可以规定小数点后的位数,例如:scanf("%4.2f",&f); D)当输入数据时,必须指明变量地址,例如: scanf("%f",&f);A.B.C.D. D
【简答题】(1) 9 +|1- 2 |- 3 -8 - 2 + (-3) 2 (2) - 3 -1 +|1- 3 |+ 3 - 1 + (-2) 2 .
【简答题】A.(5*1+2+3+6)/8 B.(5*1+2+3+6)/9 C.(8*1)/8 D.(8*1)/9
【单选题】若有“double a;”,则正确的输入语句是( )。
A.
scanf("%1f",a);
B.
scanf("%f",&a);
C.
scanf("%1f",&a);
D.
scanf("1e",&a);
【简答题】按格式要求输入 、 输出数据。 #include "stdio.h" main( ) { int a,b; float x,y; char c1,c2; scanf("a=%d,b=%d",&a,&b); scanf("%f, %e",&x,&y); scanf("%c %c",&c1,&c2); /* 录入时 %c 与 %c 之间有个空格 */ printf("a=%d,b=%d,x=%f...
相关题目: