单项选择题

有以下程序:
#include <stdio.h>
main()
printf("%d\n",NULL)"
程序运行后的输出结果是( )。

A.0
B.1
C.-1
D.NULL没定义,出错
<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序: #include <stdio.h> #include <string.h> main() char str[][20]= Hello , Beijing ,*P=str[0]; printf( %d n ,strlen(p+20)); 程序运行后的输出结果是( )。
A.0
B.5
C.7
D.20
单项选择题
有以下程序: #include <stdio.h> struct s int x,y; data[2]=10,100,20,200; main() struct s *p=data; printf( %d n ,++(p->x)); 程序运行后的输出结果是( )。
A.10
B.11
C.20
D.21
相关试题
  • 以下程序运行后的输出结果是 【20】 。...
  • 以下程序的功能是调用函数fun计算:m=1-...
  • 以下程序运行后的输出结果是 【19】 。...
  • 请在以下程序第一行的下划线处填写适当内容...
  • 以下程序运行后的输出结果是 【17】 。...