Posts by Rafael • 21 points
1 post
-
1
votes2
answers51
viewsQ: Can anyone explain to me what this code does line by line?
void primeiro(int a) { a *= 2; printf("%d", a); } void segundo(int *u) { int x = 1; x = x + *u; primeiro(x); *u = x++; } int main() { int x = 5; segundo(&x); printf(":%d\n", x); }…