adding the poll question

This commit is contained in:
Jidong Xiao
2024-02-02 13:23:29 -05:00
parent f7ffa6b1b6
commit 5de9b66595

View File

@@ -217,7 +217,7 @@ The destructor is called implicitly when an automatically-allocated object goes
Match up the line of code with the function that is called. Each letter is used exactly once.
Foo f1;          a) assignment operator
<input type="checkbox" disabled="disabled">Foo f1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a) assignment operator
Foo\* f2;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;b) destructor
f2 = new Foo(f1);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c) copy constructor
f1 = \*f2;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;d) default constructor