题型:问答题 简答题 阅读下列程序,则在执行后,程序的运行结果为( )。 #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 toC) meet you you D) nice to you 查看答案
题型:问答题 简答题 下列程序的运行结果是 【13】 。 #include<stdio.h> main { int k=4,m=3,p; p=func(k,m); printf("%d",p); p=func(k,m); printf("%d\n",p);} func(a,b) int a,b; { static int m=0,i=2; i+=m+1; m=i+a+b; return(m);} 查看答案