Dynamic 1D Arrays & Function Pointers.
• Your transformations must be applied by the transform function which
• returns a pointer to a dynamically allocated integer array
• takes as its input the original array and a function pointer compatible with
• int transformValue(int value);
• Your function must apply transformValue to every element in the array it
You should at least get started first. I also can't believe this is your first time coding if that's the prompt you have posted - that is quite difficult for first-time programmers.