Step 3 of 10
Returning two results
A function can only return one value. Pointer parameters let it hand back more ("out parameters"):
void minmax(int a[], int n, int *min, int *max);
Your turn: write void divmod(int a, int b, int *q, int *r) that stores a / b in *q and a % b in *r.
Previous: Change the caller's variable Next: Pointer arithmetic and arrays