I've been working on this C programming assignment all week and am getting nowhere, its due monday so I'm running out of time. Any help would be greatly appreciated, thank you.
CIT 145 Pointer Assignment
Construct a program that declares a size 10 array of doubles and an array of pointers to doubles.
In a for loop, using pointer arithmetic to increment, initialize the integer array from 1.0 to 10.0 and in same loop initialize the pointer array to point to the array elements holding the data.
Create a print function that accepts the pointer array and its size as an argument. The function should, using square bracket notation, print out the contents of the pointer array and the values in the double array.
An possible example of output:
0x001f20 1.0
0x001f28 2.0
etc.