单项选择题对序线性表(23,29,34,55,60,70,78)用二分法查找值为60的元素时,需要比较次数为( )。
单项选择题设有如下的程序段: char str[]= HelloWorld ; char*ptr; ptr=str; 执行上面的程序段后,*(ptr+10)的值为( )。