a) Error occurs
b) Segmentation fault
c) Objects are not created properly
d) Compiler provides a default constructor to avoid faults/errors
What happens if a user forgets to define a constructor inside a class?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What happens if a user forgets to define a constructor inside a class?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!