The definition of a function tripleit, which triples its argument but returns nothing so that it can be used as follows: int x=5; tripleit(&x); /* x is now equal to 15 */ is given below:
void tripleIt ( int * x ) {
* x = * x * 3 ;
}
What this function does, is that it defines the function as an integer of x and then goes ahead to show the mathematical operation which occurs as a triple value which is x * 3 that gives the output as 15 as required by the question above.
Read more about functions in programming here:
https://brainly.com/question/13041454
#SPJ1