Page 1 of 1

What happens if a user forgets to define a constructor inside a class?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
a) Error occurs
b) Segmentation fault
c) Objects are not created properly
d) Compiler provides a default constructor to avoid faults/errors