#include <iostream>
using namespace std;
const int MAX = 3;
int main()
{
int var[MAX] = { 10,100,200 };
int* p = &var[MAX - 1];
for (size_t i = MAX; i > 0; i--)
{
cout << *p << endl;
p--;
}
}
#include <iostream>
using namespace std;
const int MAX = 3;
int main()
{
int var[MAX] = { 10,100,200 };
int* p = &var[MAX - 1];
for (size_t i = MAX; i > 0; i--)
{
cout << *p << endl;
p--;
}
}