• 2022-06-12
    如下C程序的输出是什么?#include [stdio.h]void Func1 (int x, int y);void Func2 (int *x, int *y); int main() { int x = 3; int y = 4;Func1 (x, y); printf ("x = %d, y = %d\n", x, y);Func2(&x, &y); printf ("x = %d, y = %d\n", x, y);} void Func1 (int x, int y) { x = x + y; y = x - y; x = x - y; printf ("x = %d, y = %d\n", x, y);} void Func2 (int *x, int *y) { *x = *x + *y; *y = *x - *y; *x = *x - *y;;}
    A: x = 3, y = 4x = 3, y = 4x = 3, y = 4
    B: x = 4, y = 3x = 4, y = 3x = 4, y = 3
    C: x = 3, y = 4x = 3, y = 4x = 4, y = 3
    D: x = 4, y = 3x = 3, y = 4x = 4, y = 3