Storage classes in C++

Storage class is used to define the lifetime and visibility of a variable and/or function within a C++ program.These specifiers precede the type that they modify. Lifetime refers to the period during which the variable remains active and visibility refers to the module of a program in which the variable is accessible.


This is a companion discussion topic for the original entry at http://iq.opengenus.org/storage-classes-cpp/