There are four storage class specifiers in C and C++. These are -
1. auto : The storage specifier auto refers to automatic variable declaration. The life of an automatic variable is the time during which its parent function is running. The scope of an auto variable is the function scope. They can be accessed only from their parent functions.
Syntax : auto int a;
2. register : A register variable has all the characteristics of an auto variable. The only difference is that auto variable uses the main memory to store data and register uses the CPU registers.
3. extern : This storage specifier is used to declare a global variable. The life of these variables is the time during which the program runs.
the storage class is define as 10th class and 9th class and the examples are 10b and 9a
There are four types of storage class or variable in c. 1) auto storage class. 2) register storage class. 3) static storage class. 4) external storage class.
automatic storage class
Nothing: 'auto' is usable only in functions, and there it is the default storage class, so you don't have to use it at all.
advantage of storage classes
inline itself should be considered as a storage class
No, you have to make them static explicitly.
the storage class is define as 10th class and 9th class and the examples are 10b and 9a
A storage class defines the visibility and lifetime of variables or/and functions within a C Program. There are following storage classes which can be used in a C Program: auto register static extern
There are four types of storage class or variable in c. 1) auto storage class. 2) register storage class. 3) static storage class. 4) external storage class.
automatic storage class
Nothing: 'auto' is usable only in functions, and there it is the default storage class, so you don't have to use it at all.
Fat functions as energy storage devices, as insulators in animals. Fat functions as energy storage devices, as insulators in animals. Fat functions as energy storage devices, as insulators in animals.
what are the functions of local area network
In general, the child class's functions will be used in place of the parent.
advantage of storage classes
storage and decoration