设有如下的程序段:char str[ ]="This a book";char *ptr;ptr=str;执行上面的程序段后,*(ptr+2)的值为()。

A.'s' B.'i' C.'h'的地址 D.'h'

时间:2024-04-08 11:14:59

相似题目