dimanche 3 octobre 2021

Why do we use constructor if we can initialize the member variable directly in class in C++? [closed]

Why do we use constructor if we can initialize the member variable directly in class in C++ ?

Aucun commentaire:

Enregistrer un commentaire