Storage Classes in C++

November 5, 2017|

The storage class is used to specify control two different properties: storage life-time and scope(visibility) of variables. Following storage classes can be used in a C++ Program: Automatic External Static Register Automatic(auto) Storage Class Variable defined within the function body are called auto variable. The auto storage class is used to declare [...]

Go to Top