While learning C++, I came across a statement that the constructor and destructor make implicit calls to new and delete operators during memory allocation. I am not able to understand it properly as while delving deep into this statement I found out that new and delete operators make implicit calls to constructors and destructors.
Now it’s really confusing…
I surfed different sites including stack overflow where the same question was listed but could not get a proper answer.
bitCode365 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.