1 2 3 4 5 6 7 8 9 10 11 | #include <stdio.h> int main(){ int i,j; char str1[]="pig-is-stupid"; char str2[]="clever"; str1[0]='d'; str1[1]='o'; for (i=7,j=0;j <6; i++,j++)str1[i]=str2[j]; printf("%s\n",str1); return 0; } |
0 of 4 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 4 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
1、该程序可以正常运行( )
2、该程序输出结果为整数( )
3、该程序的输出结果为( )
4、该程序的时间复杂度级别为( )