Değer ve Referans ile Parametre Aktarımı

SonsuzUs Her şey › Category: Soru › Değer ve Referans ile Parametre Aktarımı
sonsuz Kurucu sordu 1 saat önce
void f(int a, int b, int *c) {
    int *t = &b;
    a -= 2;
    b += 5;
    *t += 2;
    *c += 100;
}

int main() {
    int x = 6, y = 30, z = 60;
    f(x, y, &z);
    printf("%d, %d, %d\n", x, y, z);
}

Yukarıdaki programın ekran çıktısı nedir?

Cevapla