单项选择题

有以下程序
#include <stdio .h>
main ()
{ printf("%d\n", 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’;
单项选择题
A.以下程序输出结果是 #include <stdio.h> main ( ) { int i=0,a=0; while ( i<2 0 ) { for(;;) { if ((i%10) ==0) break; else i--; } i+=11; a+=i; } print f ( %d n ,a);
A.以下程序输出结果是
#include <stdio.h>
main ( )
{ int i=0,a=0;
while ( i<2 0 )
{ for(;;)
{ if ((i%10) ==0) break;
else i--;
}
i+=11; a+=i;
}
print f ( "%d\n" ,
  • a);
相关试题
  • 以下程序中函数f的功能是将n个字符串按由大...
  • 有以下结构体说明和变量定义,如图所示,指...
  • 设有如下定义 struct ss { char name...
  • 有以下程序 main ( ) int x[] =...
  • 已定义以下函数: fun (char* p2, ...