单项选择题

有以下程序
main ()
{ char *s[]={"one","two","three\
<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序 #include <stdio .h> main () { printf( %d n , NULL); }
A.0
B.1
C.-1
D.NULL没定义,出错
单项选择题
若程序中已包含头文件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’;
相关试题
  • 以下程序中函数f的功能是将n个字符串按由大...
  • 有以下结构体说明和变量定义,如图所示,指...
  • 设有如下定义 struct ss { char name...
  • 有以下程序 main ( ) int x[] =...
  • 已定义以下函数: fun (char* p2, ...