7.10. Exercises
- 1. What would happen if we compiled the program in Figure 7.19? Why?
- 2. What would happen if we compiled the program in Figure 7.20? Why?
- 3. What would happen if we compiled the program in Figure 7.21? Why?
- 4. What would happen if a user of our string class wrote an expression that tried to set a string variable to itself (e.g., a = a;)?
|
www.steveheller.com steve@steveheller.com |