Functions

//out: the value only goes outward
//through the pointer
void getSum(int *sum, int n1, int n2) {
    *sum = n1 + n2;
}

int sum;
getSum(&sum, 53);
//sum is 8