dimanche 1 mars 2015

What happens to an object of a class in a function


If I create a class, and make its object inside a function*. Once the function ends what happens to the object I created? Does it get deleted?


EDIT: *And I call that function from the main




Aucun commentaire:

Enregistrer un commentaire