#include void f1(int A[100]) { for (int i=0; i<54; i+=1) A[i] = i*101; } void f2(int B[]) { // reverse the order of the array } void main() { int a=1, b=2, c=3, d=4; int Array[52]; int e=5, f=6, g=7, h=8; cout << "a b c d e f g h are " << a << " " << b << " " << c << " " << d << " " << e << " " << f << " " << g << " " << h << "\n"; f1(Array); f2(Array); cout << "a b c d e f g h are " << a << " " << b << " " << c << " " << d << " " << e << " " << f << " " << g << " " << h << "\n"; } for (int i=0, j=54; j>i; i+=1, j-=1) { int temp = B[i]; B[i] = B[j]; B[j] = temp; }