若程序中已包含头文件stdio.h,以下选项中,正确运用指针变量的程序段是A.int *i=NULL; scanf("%d",i;B.float *f=NULL; *f=10.5;C.char t='m',*c=t; *c=t;D.long *L; L='\0';

若程序中已包含头文件stdio.h,以下选项中,正确运用指针变量的程序段是

A.int *i=NULL; scanf("%d",i;

B.float *f=NULL; *f=10.5;

C.char t='m',*c=&t; *c=&t;

D.long *L; L='\0';


相关考题:

有以下程序 include main() { int n,*p=NULL; *p=n; printf(" 有以下程序 #include <stdio.h> main() { int n,*p=NULL; *p=n; printf("Input n:");scanf("%d",p);printf("output n:");printf("%d\n",p); } 该程序试图通过指针p为变量n读入数据并输出,但程序有多处错误,以下语句正确的是A.int n,*p=NULL;B.*p=n;C.scanf("%d",p)D.printf("%d\n",p);

有以下程序:inlucdemain()D)2 3 3{int n,*P=NULL;*p=printf("input n:");scanf("%d 有以下程序: #inlucde<stdio.h> main()D)2 3 3 {int n,*P=NULL; *p=&n; printf("input n:");scanf("%d",&p);printf("output n:");printf("%d\n",p); } 该程序试图通过指针P为变量n读入数据并输出,但程序有多处错误,以下语句正确的是( )。A.int n,*P=NULL;B.*P=&n;C.scanf(“%d",&p)D.printf("%d\n",p);

若程序中已包含头文件stdio.h,以下选项中,正确运用指针变量的程序段是A.int *i=NULL;B.float *f=NULL;scanf("%d",i); *f=10.5;C.char t='m', *c=t;D.long *L;

若程序中已包含头文件stdio.h,以下选项中,正确运用指针变量的程序段是 ______。A.int*i=NULL; scanf("%d",i);B.float * f=NULL *f=19.5;C.char t='m',*c=t; *c=t;D.long *L; L='\0';

以下叙述中错误的是A.改变函数形参的值,不会改变对应实参的值B.函数可以返回地址值C.可以给指针变量赋一个整数作为地址值D.当在程序的开头包含头文件stdio.h时,可以给指针变量赋NULL

以下选项中,正确运用指针变量的程序段是( )。A.int*i=NULL;B.float*f=NULL; scanf("%d",i); *f=10.5;C.char t='m',*C=t;D.long*L; *C=t; L='0';

若程序中已包含头文件stdio.h,以下选项中,正确运用指针变量的程序段是A.int *i = NULL; scanf("%d", i);B.float *f = NULL; *f = 10.5;C.char t = 'm', *c = t; *c = t;D.long *L; L = '\0';

若程序中已包含头文件stdio.h,以下选项能正确运用指针变量的程序段是( )。A.int *i=NULL; scanf("%d",i);B.float *f=NULL; *f=10.5;C.char t='m',*c; *c=t;D.long *L; L='\0';

以下叙述中错误的是( )。A.改变函数形参的值,不会改变对应的实参的值B.函数可以返回地址值C.可以给指针变量赋一个整数作为地址值D.当在程序的开头包含头文件stdio.h时,可以给指针变量赋NULL