// File: ArrayDebug.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" // Change argument to & to see change in debugging int doubleVal(int a) { return(a*2); } // Why can Array one be passed here? void add1(Array a) {for (int i=0;i