This is for C++ any help would be appreciated. Thank you.

Write the definition of a function divide that takes four arguments and returns no value. The first two arguments are of type int. The last two arguments arguments are pointers to intand are set by the function to the quotient and remainder of dividing the first argument by the second argument. The function does not return a value.

The function can be used as follows:

int