对数组元素d(1)到d(10)进行从小到大的排序其选择排序算法的VB程序段如下 For m=1 To 9 p=m For n = m+1 To 10 Next n If p<>m Then tt=(p): (p)=d(m): d(m)=tt End If Next m 划线处的语句是( )
A . If d(n)<d(p) Then p=m
B . If d(n)<d(p) Then p=n
C . If d(n)>(p) Then p=n
D . If d(n)>d(p) Then p=m
答案:B