#include <iostream>
using namespace std;

int main() {
    int a[]={2,3,4,5,66,7,88};
    int n = sizeof(a)/4;
    int b[n];
    for (int i=0;i<n ;i++ ) {
        int j = n-1-i;
        b[i]=a[j];
    }
    for (int i=0;i<n ;i++ ) { 
        cout<<b[i]<<endl;
        
    }
   
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: