单选题 C语言
题号 #2252748

 
对下述程序的判断中,正确的是( )。
#include<stdio.h>
main( )
{ char*p,s[256];
p=s ;
while(strcmp(s,"the end"))
{ printf("Input the strin9:"); 
gets(s);
while(*p)
putchar(*p++);
}}

进入在线模考

参考答案

C

答案解析


外部变量在编译时由系统分配永久的内存空间,所以外部变量的类型不是自动存储类别。

你可能感兴趣的试题

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