/* File: func2.c A function with reference parameters. */ int add50(int *n) { int m ; m = *n + 50 ; *n = *n + 1 ; return m ; } main() { int a, b ; b = 45 ; a = add50(&b) ; printf ("a = %d, b = %d\n", a, b) ; }