【单选题】判断两个字符串s1和s2是否相等,应该使用正确的语句为( )。
A.
if(s1==s2) printf( " s1 和 s2 相等 " );
B.
if(strcmp(s1,s2)) printf( " s1 和 s2 相等 " );
C.
if(strcmp(s1,s2)=0) printf( " s1 和 s2 相等 " );
D.
if(strcmp(s1,s2)==0) printf( “ s1 和 s2 相等 ” );
【简答题】On October 14, 1066, Harold’s army and William’s army met in the famous Battle of ________
【单选题】判断两个字符串s1,s2是否相等,正确的表达方式是()。
C.
while(strcmp(s1,s2)==0)
D.
while(strcmp(s1,s2)=0)
【单选题】下列判断两个字符串s1和s2是否相等的正确方法是()。
【单选题】判断两个字符串 s1 和 s2 是否相等的正确使用是
D.
if( strcmp(s1,s2)= =0)
【简答题】In
1066 Harold and his troops fought against William’s army on Senlac field near
________.A. London B. Normandy C. Standford D. Hastings
【单选题】In 1066 Harold and his troops fought against William's army on Senlac field near ________ .
【单选题】In 1066 Harold and his troops fought against William's army on Senlac field near _______.
【判断题】Harold's army was composed of experienced soldiers trained to fight on horseback.