下列程序输出的结果是( )。#includefunl(chara,charb){charC;c=a;a=b;b=C;)fun2(char*a,charb){charC;c=*a;*a=b;b=c;)fun3(char*a,char*b){charC;C=*a;*a=*b;*b=C;)voidmain( ){chara,b;a='A';b='B';fun1(a,b);putchar(a);putchar(b);a='A';b='B';fun2(&a,b);putchar(a);putchar(b);a='A';b='B';fun3(&a,&b);putchar(a);putchar(b);putchar('\n');}[1分]
下列程序输出的结果是( )。#includefunl(chara,charb){charC;c=a;a=b;b=C;)fun2(char*a,charb){charC;c=*a;*a=b;b=c;)fun3(char*a,char*b){charC;C=*a;*a=*b;*b=C;)voidmain( ){chara,b;a='A';b='B';fun1(a,b);putchar(a);putchar(b);a='A';b='B';fun2(&a,b);putchar(a);putchar(b);a='A';b='B';fun3(&a,&b);putchar(a);putchar(b);putchar('\n');}[1分]
1