Write code to fill this array with 10 numbers typed in at the keyboard.
Your program creates a dynamically allocated array as follows:
```
int *entry;
entry = new int[10];
```
so that the pointer variable entry is pointing to the dynamically allocated array.
```
#include
cout << "Enter 10 integers:\n"; for(int i = 0; i < 10; i++) cin >> entry[i]; for(int i = 0; i < 10; i++)
cout << entry[i] << " ";
cout << endl;
return 0;
}
```
You might also like to view...
Which of the following is NOT a step in a serviceable backup plan?
A. Make a system recovery drive. B. Make monthly backups. C. Activate autosave. D. Make copies of important files.
Autonomy is defined as ________
A) working without continual direction and control B) repressing inappropriate behavior C) feeling confident and excited about learning new skills D) working for something larger
You cannot install Windows on a Mac
Indicate whether the statement is true or false
Cardinality describes the number of possible occurrences in one table that are associated with a single occurrence in a related table.
Answer the following statement true (T) or false (F)