May 2012
Intermediate to advanced
679 pages
16h 56m
English
C++ supports the following keywords as storage class specifier:
We can declare local variables as auto (storage class). Such variables will be called as automatic variables. The default storage class of local variables of every function is auto (it stands for automatic). These variables come into existence with the function in which they are defined. They vanish as soon as that function terminates. There is nothing special about this storage class. Normally, we do not specify it explicitly.
Keyword register is a qualifier. For example,
register int i;
A variable required again and again is declared as of type register. Declaration is a request to the compiler ...
Read now
Unlock full access