Define int pointer parameter for a function
#include <stdio.h> void f(int *k); main () { int i; i = 0; printf (" i before call %d \n", i); f(&i); printf (" i after call %d \n", i); } void f(int *k) { *k = *k + 10; }