// This program uses the Box class that was defined in Quiz 3

// For each line of the code, point out if the default constructor, copy
// constructor, op= or destructor is called

int main () 
{
    Box a;
    Box b = a;
    b.setValue (17);
    a = copyBox (b);
    return 0;
}

Box copyBox (Box b1) 
{
    Box result;
    result = b1;
    return result;
}

Check out your answers