#include using namespace std; int main() { int * array; array = new int[7]; for (int i = 0; i < 7; i += 1) *(array + i) = i * 1001; // that is exactly the same as for (int i = 0; i < 7; i += 1) array[i] = i * 1001; for (int i = 6; i >= 0; i -= 1) cout << "array[" << i << "] = " << array[i] << "\n"; }