【单选题】判断字符串st1和st2是否相等,应使用:()

A.if(st1=st2) B.if(st1==st2) C.if(strcpy(st1,st2)) D.if(strcmp(st1,st2)==0)

时间:2023-11-07 14:31:14

相似题目