adding the poll question

This commit is contained in:
Jidong Xiao
2024-02-02 13:16:12 -05:00
parent 5f587a23e7
commit 4112a36652

View File

@@ -217,11 +217,11 @@ 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
Foo\* f2; b) destructor
f2 = new Foo(f1); c) copy constructor
f1 = \*f2; d) default constructor
delete f2; e) none of the above
| Foo f1; | a) assignment operator |
| Foo\* f2; | b) destructor |
| f2 = new Foo(f1); | c) copy constructor |
| f1 = \*f2; | d) default constructor |
| delete f2; | e) none of the above |
## 8.15 Leetcode Exercises