+ 1

Function question, C

Can somebody please help me to say in English what this function is doing. Thanks. void f(int* p, int *q){ p = q; *p = 2; } int i = 0, j = 1; int main { f(&I, &j); printf("%d", j); }

8th Apr 2019, 7:54 AM
Heather
Heather - avatar
0 odpowiedzi