当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

阅读下列程序 则在执行后 程序的运行结果为#includestdio.h#includestring.hmain(){ char a[


阅读下列程序,则在执行后,程序的运行结果为 #include"stdio.h" #include"string.h" main() { char a[30]="nice to meet you!"; strcpy(a+strlen(a)/2,"you"); printf("%s\n",a);}

A.nice to meet you you

B.nice to

C.meet you you

D.nice to you

请帮忙给出正确答案和分析,谢谢!

参考答案
您可能感兴趣的试题
  • 阅读下列FORTRAN77程序:PI=3.14159265WRITE(*,‘(F7.4)’)PIEND程序运行后输出结果是()。(A) 3.142(

  • 阅读下列FORTRAN程序:S=1.0D010K=2,4,210S=S+1.0/KWRITE(*,*)SEND执行上述程序后,输出的S值为()。

  • 阅读下列FORTRAN77程序:INTEGERA(3,2)READ(*,100)A100FORMAT(2I3)WRITE*,*)AEND运行后要使A(1,2)

  • 阅读下列程序,则在执行后,程序的运行结果为 include "stdio.h" include "string.h" main() {ch

  • 阅读下列程序,则在执行后,程序的运行结果为 include "stdio.h" include "string.h" main() {ch

  • 阅读下面程序,则在执行时候的输出为【8】。 include"stdio.h" main() {intx=1,y=2,z=0; i