有以下程序
#include <stdio.h> void fun(int x, int y, int *c, int *d) { *c = x + y; *d = x - y; } int main() { int a = 4, b = 3, c = 0, d = 0; fun(a, b, &c, &d); printf("%d %d", c, d); }
程序的输出结果是?
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题