What happens if a user forgets to define a constructor inside a class?
Posted: Wed Jul 13, 2022 7:52 pm
a) Error occurs
b) Segmentation fault
c) Objects are not created properly
d) Compiler provides a default constructor to avoid faults/errors
b) Segmentation fault
c) Objects are not created properly
d) Compiler provides a default constructor to avoid faults/errors