//out: the value only goes outward//through the pointervoid getSum(int *sum, int n1, int n2) { *sum = n1 + n2;}int sum;getSum(&sum, 5, 3);//sum is 8