單項(xiàng)選擇題

判斷字符串a(chǎn)是否大于b,應(yīng)當(dāng)使用()。

A.if(a>b)
B.if(strcmp(a,b))
C.if(strcmp(b,a)>0)
D.if(strcmp(a,b)>0)

微信掃碼免費(fèi)搜題