• 2022-06-03
    以下程序的输出结果是:________。#include <;string.h>;int main() {char *a="abcdefghi"; int k;fun(a); puts(a);return 0;}fun(char *s) {int x,y; char c;for(x=0,y=strlen(s)-1; x<;y; x++,y--){ c=s[y]; s[y]=s[x]; s[x]=c; }}
    A: ihgfedcba
    B: abcdefghi
    C: abcdedcba
    D: ihgfefghi