In C++
Create an array using pointers (and pointer notation) and fill it in with random numbers.
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main() {
srand(time(NULL));
int size;
cout << "How many numbers: ";
cin >> size;
int **arr = new int*[size];
for (int i = 0; i < size; ++i) {
arr[i] = new int;
*arr[i] = rand() % 100;
}
// print random array of pointers
for (int i = 0; i < size; ++i) {
cout << *arr[i] << " ";
}
cout << endl;
// free memory
for (int i = 0; i < size; ++i) {
delete arr[i];
}
delete[] arr;
return 0;
}

In C++ Create an array using pointers (and pointer notation) and fill it in with random...