Storage Classes in C++

A storage class defines the scope (visibility) and life time of variables and/or functions within a C++ Program. These specifiers precede the type that they modify. There are following storage classes which can be used in a C++ Program

·        auto

·        register

·        static

·        extern

·        mutable

Related Posts

© 2023 Software Engineering - Theme by WPEnjoy · Powered by WordPress