C++ Constructor Destructor



[C++ member initializer lists](https://texonom.com/c-member-initializer-lists-efa60b8ba38b4f52b6d7d2e84ea923e6)

### dynamic needs pointer
# Constructor


- static - just constructor
- dynamic - new keyword

# Destructor


- delete variable
- ~Constructor
Whenever a call to destructor is made , the allocated memory to the object is not released but the object is no longer accessible in the program. But delete completely removes the object from memory.


> [copy constructor // copy assignment operator (복사생성자/ 대입연산자)](https://sonofgodcom.wordpress.com/2018/11/15/copy-constructor-copy-assignment-operator-%EB%B3%B5%EC%82%AC%EC%83%9D%EC%84%B1%EC%9E%90-%EB%8C%80%EC%9E%85%EC%97%B0%EC%82%B0%EC%9E%90/)












