CS 70

Before You Start...

Consider this snippet:

1| int main() {
2|     Cow adeline{};
3|     Cow bessie;
4|     bessie = adeline;
5|     Cow cadewyn = bassie;
6|     Cow* daisy;
7|     Cow* ethyl = new Cow{bessie};
8|     delete ethyl;
9| }

How many times is the Cow default constructor invoked? (enter just the number)

How many times is the Cow copy constructor invoked? (enter just the number)

How many times is the Cow assignment operator used? (enter just the number)

How many times is the Cow destructor invoked? (enter just the number)

(When logged in, completion status appears here.)