当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

阅读以下程序:include<stdio.h>main(){int case;float printF;printf("请输人2个数


阅读以下程序:

include<stdio.h>

main()

{int case;float printF;

printf("请输人2个数:");

scanf("%d%fl"&case,&printF);

printf("%d ofof\n",case,printF);

}

该程序在编译时产生错误,其出错原因是()。

A.定义语句出错,case是关键字,不能用做用户自定义标识符

B.定义语句出错,printF不能用做用户自定义标识符

C.定义语句无错,scanf不能作为输入函数使用

D.定义语句无错,printf不能输出case的值

参考答案
您可能感兴趣的试题
  • 阅读以下程序及对程序功能的描述,其中正确的描述是 #include&lt;stdio.h&gt; main() {

  • 有以下程序#include &lt;stdio.h&gt;#include &lt;string.h&gt;main(){ printf("%d ",strlen (

  • 阅读以下程序及对程序功能的描述,其中正确的描述是#include &lt;stdio.h&gt;main(){ FILE *in,*o

  • 试题32有以下程序#include <stdio.h>#include <string.h>main(){ char a[5][10]={“c

  • 有以下程序#include<stdio.h>#include<string.h>main(){char str[][20]={“Qne*World

  • 有以下程序#include<stdio.h>#include<string.h>main(){char a[10]=”abcd”;prinff(“