请读程序: # include<stdio.h> # include<string.h> void fun(char * w,int m) { char s,* p
请读程序: # include<stdio.h> # include<string.h> void fun(char * w,int m) { char s,* p1,* p2; p1=w;p2=w+m-1; while(p1<p2) { s=* p1++;*pl=* p2 - -;* p2=s;} } main() { char a[]="ABCDEFG"; fun(a,strlen(a)); puts(a); } 上面程序的输出结果是 ()
A.GEFDCBA
B.AGADAGA
C.AGAAGAG
D.GAGGAGA