ref.c
#include<stdio.h> void f(int*); int main() { int b = 30; printf("%d", b); f(&b); printf(", %d", b); return 0; } void f(int *i) { *i *= 3; }