下面程序的结果是#include"iostream.h"void main( )
题型:单项选择题
问题:
下面程序的结果是
#include"iostream.h"
void main( )
char * str;
str="test!";
cout<<str[5];
A.程序错误
B.!
C.'\0'
D.为空字符
下面程序的结果是
#include"iostream.h"
void main( )
char * str;
str="test!";
cout<<str[5];
A.程序错误
B.!
C.'\0'
D.为空字符