下面的程序在编泽时产生错误,其出错原因是()。includemain(){int 1_case;float printF; 下面的程序在编泽时产生错误,其出错原因是( )。 #include<stdio.h> main() {int 1_case;float printF; printf("请输入2个数:"); scanf ("%d%f",1_case,printF); printf("%d%f\n",1_case,printF); }A.定义语句出错,1_case不能作为变量名B.定义语句出错,printF不能用作用户自定义标识符C.定义语句无错,scanf不能作为输入函数使用D.定义语句无错,printf不能输出1_case的值
下面的程序在编泽时产生错误,其出错原因是()。includemain(){int 1_case;float printF;
下面的程序在编泽时产生错误,其出错原因是( )。 #include<stdio.h> main() {int 1_case;float printF; printf("请输入2个数:"); scanf ("%d%f",&1_case,&printF); printf("%d%f\n",1_case,printF); }
A.定义语句出错,1_case不能作为变量名
B.定义语句出错,printF不能用作用户自定义标识符
C.定义语句无错,scanf不能作为输入函数使用
D.定义语句无错,printf不能输出1_case的值
相关考题:
以下四个程序中,完全正确的是( )。A.includeB.include main(); main() {/*pr 以下四个程序中,完全正确的是( )。A.#include<stdio.h>B.#include<stdio.h> main(); main() {/*programming*/ {/*/programming/*/ printf("programming!\n");} printf("programming!\n");}C.#include<stdio.h>D.include<stdio.h> main() main() {/*/*programming*/*/ {/*programming*/ printf("programming!\n");} printf("programming!\n");}
下面程序段的输出结果是()。includemain(){float x=1.236547;printf("%f\n",(int)(x*10 下面程序段的输出结果是( )。 #include<stdio.h> main() {float x=1.236547; printf("%f\n",(int)(x*1000+0.5)/(float)1000); }A.1.237000B.输出格式说明与输出项不匹配,输出无定值C.1.236000D.1.24
下列程序的输出结果是()。includevoid fun(int*a,int*B){int *k;k=a;a=b;b=k;}main(){i 下列程序的输出结果是( )。 #include<stdio.h> void fun(int*a,int*B){ int *k; k=a;a=b;b=k;} main() { int a=1,b=2,*x=a,*y=b; fun(x,y); printf("%d%d",a,B); }A.2 1B.1 2C.编译出错D.0 0
以下四个程序中,完全正确的是()。A.include main( ); { /* programmlng* / printf( "p 以下四个程序中,完全正确的是( )。A.#include <stdio.h> main( ); { /* programmlng* / printf( "programming! \n" ); }B.#include <stdio.h> main( ) { /*/programming printf("programming! \n"); }C.#include <stdio.h> main( ) { /*programming* / printf( "programming! \n" ); }D.include <stdio.h> main ( ) { /*/* programming*/*/ printf( "programming! \n" ); }
下列4个程序中,完全正确的是()。A.include main(); (/*programming*/ printf("programm 下列4个程序中,完全正确的是( )。A.#include<stdio.h> main(); (/*programming*/ printf("programming!\n");}B.# include<stdio.h> main() {/*/programming/*/ printf("programming!\n");}C.#include<stdio.h> main() {/*/programming*/*/ printf("programming!\n");)D.include<stdio.h> main() {/*programming*/ printf("programming!\n");}
以下4个程序中,完全正确的是()。A.include main(); {/* programming */ printf("progr 以下4个程序中,完全正确的是( )。A.#include <stdio.h> main(); {/* programming */ printf("programming!\n");}B.#include <stdio.h> main() {/*/ programming /*/ printf("programming!\n");}C.#include <stdio.h> main() {/*/* programming */*/ printf("programming!\n");}D.#include <stdio.h> main() {/* programming */ printf("programming!\n");}
以下4个程序中,完全正确的是A.include main(); {/*programming*/ printf("programming 以下4个程序中,完全正确的是A.#include<stdio.h> main(); {/*programming*/ printf("programming!\n");}B.#include<stdio.h> main() {/*/programming/*/ printf("programming!\n");}C.#include<stdio.h> main() {/*/*programming*/*/ printf("programming!\n")}D.include<stdio.h> main() {/*programming*/ printf("programming!\n");}
以下四个程序中,完全正确的是______。A.include main(); {/*programming* 以下四个程序中,完全正确的是______。A.#include <stdio.h> main(); {/*programming*/ printf("programming!\n");}B.#inc lude<stdio.h> main() {/*/programming/*/ printf("programming!\n");}C.#include <stdio.h> main() {/*programming*/ printf("programming!\n");}D.include<stdio.h> main() {/*/*programming*/*/ printf("programming!\n");}
以下四个程序中,完全正确的是()A.#include <stdio.h> main(); {/*/ programming /*/ printf("programming!n");}B.#include <stdio.h> main() {/* programming */ printf("programming!n"); }C.#include <stdio.h> main() {/*/* programming */*/ printf("programming!n"); }D.include <stdio.h> main() {/* programming */ printf("programming!n"); }