#include void f1(int A[100]) { cout << "f1: size of A is " << sizeof(A) << " bytes\n"; for (int i=0; i<54; i+=1) A[i] = i*101; cout << "f1: A[53] = " << A[53] << "\n"; cout << "f1: A[54] = " << A[54] << "\n"; } void f2(int B[]) { cout << "f2: size of B is " << sizeof(B) << " bytes\n"; for (int i=0, j=54; j>i; i+=1, j-=1) { int temp = B[i]; B[i] = B[j]; B[j] = temp; } cout << "f2: B[53] = " << B[53] << "\n"; cout << "f2: B[54] = " << B[54] << "\n"; } 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"; cout << "main: size of Array is " << sizeof(Array) << " bytes\n"; f1(Array); f2(Array); cout << "a b c d e f g h are " << a << " " << b << " " << c << " " << d << " " << e << " " << f << " " << g << " " << h << "\n"; }