0

Need help with this c++ program

Create a class named ā€˜Houseā€™. The class should have an integer type data member called ā€˜Areaā€™. Create and initialize three objects from the class ā€˜Houseā€™ using three different types of ctors.

4th Jan 2021, 4:19 AM
Soheer Khan
Soheer Khan - avatar
4 Answers
+ 4
Show us your attempt. Dont ask your school homework here
4th Jan 2021, 4:25 AM
Charitra
Charitra - avatar
4th Jan 2021, 4:25 AM
ä½ ēŸ„é“č¦å‰‡ļ¼Œęˆ‘也ę˜Æ
ä½ ēŸ„é“č¦å‰‡ļ¼Œęˆ‘也ę˜Æ - avatar
+ 2
Soheer Khan third one is "copy constructor".
4th Jan 2021, 5:59 AM
Arsenic
Arsenic - avatar
0
I already did using the the simple ctor and prematerise ctor . I just don't know what is the third type .
4th Jan 2021, 4:27 AM
Soheer Khan
Soheer Khan - avatar