Challenge: An Array of Function Pointers
Apply what you’ve learned about function pointers in the coding exercises in this lesson.
Problem statement
In this challenge, you have to implement these functions:
void callFunctions(int num, int arr[]);
void dbl(int *n);
void tple(int *n);
void qdpl(int *n);
-
The
dbl
function receives the address of an int, doubles the int, and returns nothing. ...