Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 258 Bytes

7.8.md

File metadata and controls

3 lines (2 loc) · 258 Bytes

The read function will change its Sales_data parameter and pass the information back via plain reference.

The print function won't change its Sales_data parameter, and by using a reference to const, we can print const Sales_data object as well.