At the end of the object scope It declares an object with automatic storage duration. Which object will be destroyed. Many variables in functions that are not declared as static and not dynamically allocated have automatic storage duration by default. Local variables which is Local but they are not declare within a scope; They are often called automatic variables because they automatically come into being when the scope is entered and automatically go away when the scope closes. The keyword auto makes this explicit, It is never necessary to declare somethin becouse local variables are default.