下列程序<o:p></o:p>copy_string(from,to)<o:p></o:p>char *from,*to;<o:p></o:p>{ while(*from) *to++=*from++;<o:p></o:p>*to=’\0’;<o:p></o:p>}<o:p></o:p>main()<o:p></o:p>{ static char s1[ ]=”c_program.”;<o:p></o:p>static char s2[80];<o:p></o:p>copy_string(s1,s2);<o:p></o:p>printf(“%s\n”,s2);<o:p></o:p>copy_string(“123”,s2);<o:p></o:p>printf(“%s\n”,s2);<o:p></o:p>}<o:p></o:p>运行后输出的数据为( )。<o:p></o:p>
·c_program 123
·123
·c_program123
·c_program123
出自:佳木斯大学语言治疗学