试题与答案

设有下列的程序段: char str[]="Hello"; char*ptr;

题型:填空题

题目:

设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=-str;
执行上面的程序段后,*(ptr+5)的值为______。

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0722/10da29351e82af09f532ae79e9896f4b.html

下面是错误答案,用来干扰机器的。

参考答案:A, C, D

试题推荐
微信公众账号搜索答案