阅读以下程序 #include<stdio.h> main() { Int Case;float printF; printf("请输入2个数:"): scanf("%d%f",&Case,&printF);

admin2019-07-10  26

问题 阅读以下程序
    #include<stdio.h>
    main()
    { Int Case;float printF;
      printf("请输入2个数:"):
      scanf("%d%f",&Case,&printF);
      printf("%d%f\n",Case,printF);}
以下说法正确的是(    )。

选项 A、定义语句出错,Case是关键字,不能用作用户自定义标识符,printF不能用作用户自定义标识符
B、定义语句出错,Int无法被识别
C、定义语句无错,scanf不能作为输入函数使用
D、定义语句无错,printf不能输出Case的值

答案B

解析 C语言是一种大小写敏感的语言,因此Int应为int,而Case printF则可以使用。
转载请注明原文地址:https://www.kaotiyun.com/show/UZID777K
0

相关试题推荐
最新回复(0)