更多"定义字符指针char *str='hello',已知sizeof(st"的相关试题:
[填空题]定义字符指针char *str="hello",已知sizeof(str)=4,则strlen(str)=______。
[填空题]设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为______。
[填空题]设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为______。
[填空题]设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为______。
[填空题]设有下列的程序段:
char str[]="Hello";
char *ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为
[填空题]设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=-str;
执行上面的程序段后,*(ptr+5)的值为______。
[填空题]设有下列的程序段:
char str[]="Hello";
char *ptr;
ptr =str;
执行上面的程序段后,*(ptr+5)的值为______.
[填空题]设有下列的程序段;
char str[]="Hello";
char *ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为______。