问题 单项选择题

设有如下程序段 char str[]="Hello!"; char *ptr; ptr=str; 执行完以上程序段后*(ptr+6)的值为( )

A.'o'

B.'\0'

C.'\o

D.'o'

答案

参考答案:B

选择题
选择题