+ 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); }
0 Resposta
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); }