Can we create object in C++ without new?

In C++, we can instantiate the class object with or without using the new keyword. If the new keyword is not use, then it is like normal object. This will be stored at the stack section. This will be destroyed when the scope ends.

Sizin İçin Seçtik  5 dolar bozdurma ne kadar?

Leave a Reply

Your email address will not be published. Required fields are marked *