以下程序的输出结果是()。#include #include void fun( char *w, int m){char s, *p1, *p2;p1 = w;p2 = w+m-1;while(p1 < p2){s = *p1 ++;*p1 = *p2--;*p2 = s;}}int main(){char a[] = "ABCDEFG";fun(a, strlen(a));puts(a);return 0;}
AGADAGA
B. AGAAGAG
C. GFEDCBA
D. GAGGAGA
查看答案
以下程序的输出结果是()。int main(){int a[5] = {2, 4, 6, 8, 10}, *p, **k;p = a;k = &p;printf("%d ", *(p++));printf("%d\n", **k);return 0;}
A. 4 6
B. 2 2
C. 2 4
D. 4 4
以下程序的输出结果是()。int main(){char *alpha[6] = {"ABCD","EFGH","iJKL","MNOP","QRST","UVWX"};char **p;int i;p = alpha;for(i = 0; i < 4; i++)printf("%s", p[i]);printf("\n");return 0;}
ABCD
B. AEiM
C. ABCDEFGHiJKL
D. ABCDEFGHiJKLMNOP
以下程序的输出结果是()。int main(){int a[3][4] = {1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23};int (*p)[4] = a, i, j, k = 0;for(i = 0; i < 3; i++)for(j =0; j < 2; j++)k += *(*(p + i) + j);printf("%d\n", k);return 0;}
A. 108
B. 68
C. 60
D. 99
01.哪个默认的键盘快捷键将选定的层向后面移动?
A. 文件》 Cmd/Ctrl+[
B. 文件》 Cmd/Ctrl+]
C. 文件》 Cmd/Ctrl+Shift+[
D. 文件》 Cmd/Ctrl+Shift+]