Write a function that dynamically allocates an array of integers. The function should accept an integer argument indicating the number of elements to allocated. The function should return a pointer to the array. Also write a main function to call the array allocator function. After the call, use the returned pointer to display all element in the array.
nepali8 · Mar 1, 2011 3:51 AM · 204 views
Do your homework yourself.
Jai_Nepal · Mar 1, 2011 5:05 AM
This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.
Start a New Discussion