已有定义语句”char ch1[10]= “12345”, ch2[10]= “abcde”, ch3[10];”,下面语句中能将ch1中存储的字符串和ch2中存储的字符串正确交换的是( )
A.
ch3=ch1,ch1=ch2, ch2=ch3;
B.
ch3[0]=ch1[0],ch1[0] =ch2[0],ch2[0] =ch3[0];
C.
strcpy(ch3[0],ch1[0]) ,strcpy(ch1[0],ch2[0]) ,strcpy(ch2[0],ch3[0]);
D.
strcpy( ch3 ,ch1), strcpy(ch1, ch2), strcpy( ch2, ch3);