Computer Science, asked by raghunath8247, 1 year ago

Why constructor is called special type of member function in c++?

Answers

Answered by Anonymous
3

Special member functions in C++ are functions which the compiler will automatically generate if they are used, but not declared explicitly by the programmer. ... Default constructor if no other constructor is explicitly declared. Copy constructor if no move constructor and move assignment operator are explicitly declared.

Similar questions