Name: ________________________________

Honor Code Acknowledgment: ___________________


Random Quiz # 1

CPS 100, Spring 1996

Due: January 19


Problem 1 Casting Call: (2 points)

In the sequence of statements:

      Bigint big;
      big = 5 + 3;
how many (and which) constructors are called?

Problem 2 Curtain Call: (3 points)

How many constructors are called in each of the statements below (and why)?

    Bigint big(3+5);
    BigInt big2 = 3+5;
    BigInt big3 = BigInt(3+5);