int printf(const char *, ...); void foo(int *i) { *i = 5; } int main() { int i = 3; printf("i = %d\n", i); foo(&i); printf("i = %d\n", i); }