Guest User

Untitled

a guest
Jul 20th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Allocate memory on the stack for an array of 10 integer pointers. Keep reading integers until -999 is entered. Dynamically allocate memory for each integer and store the pointers returned by new in the array of pointers. When -999 is entered, display the integers using the pointers (20 points).
  2. The following shows a sample execution of the program:
  3. Input: 75 90 87 70 66 -999
  4. Output: 75 90 87 70 66
Add Comment
Please, Sign In to add comment