What are the different types of Storage classes?

Showing Answers 1 - 2 of 2 Answers

Ashish

  • Aug 26th, 2005
 

Hi friends, 
 
There are 5 kind of storage classes  
auto - : like int 
extern-: used by other class or programm 
static -: retain the value through out the executionof the programm 
register-: First memory storage.Secquence of memory allocation is 
Register--> Cache--> RAM 
 
Register storage does not have memory addressthis is the resion why we can not store thr Pointer variable in to theregister storage 
 
volatile-: Memory is alocated for a frection of time 
 
Ashish 
 

  Was this answer useful?  Yes

Ashish

  • Aug 26th, 2005
 

Hi friends, 
 
There are 5 kind of storage classes  
auto - : like int 
extern-: used by other class or programm 
static -: retain the value through out the executionof the programm 
register-: First memory storage.Secquence of memory allocation is 
Register--> Cache--> RAM 
 
Register storage does not have memory addressthis is the resion why we can not store thr Pointer variable in to theregister storage 
 
volatile-: Memory is alocated for a frection of time 
 
Ashish 
 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions