// File: ArrayEx.cpp // Driver for Array ADT. // Debugging Demo - show how r-value is created, and some examples // to distinguish r-values and l-values, along with constructor use // in the debugger #include #include "Array.h" using namespace std; int main() {Array A(6); A[4]=12; Array B(A); Array C; cout << C.getSize() << endl; C=A; cout << C; }