400 views
0 votes
0 votes
If I allocate the memory using new operator to member in constructor I.e dynamic constructor than should I have to write delete in destructor

1 Answer

Related questions

0 votes
0 votes
0 answers
1
kd..... asked Mar 31, 2018
364 views
if we call the constructor than did the constructor will implicitly calls the new operator to allocate memory and it is from the heap area?
1 votes
1 votes
1 answer
2