/* program pass C++ version */ #include // library of C++ input/output functions int example(int x, int &y, int z[]); void main() { int x = 5, y = 6; int z[2], w; z[0] = 10; z[1] = 20; w = example(x,y,z); cout << x << " " << y << " " << z[0] << " " << z[1] << " " << w; } int example(int x, int &y, int z[]) { int product; x = 50; y = 60; z[0] = 100; z[1] = 200; product = x*y; return product; }