单项选择题

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

A.'\0'
B.'0'
C.不确定的值
D.'0'的地址