单选题 C语言
题号 #144111

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

进入在线模考

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考