What are Storage Classes in C ?
Answer Posted / shashi sourabh kant
There are four type of storage classes in C. These are used
to store variables. These are Extern, Static, Register and
Auto. Auto is the default class assigned to any variable.
eg. if we define int x=10; then it means auto int x=10
register and static differ in only one grounds that
register is there in the cpu and static in the main memory.
extern is global and can be accessed by any program and
anywhere.
| Is This Answer Correct ? | 704 Yes | 59 No |
Post New Answer View All Answers
What is extern keyword in c?
What is actual argument?
Explain what is meant by high-order and low-order bytes?
What is function pointer c?
Explain about block scope in c?
What are the three constants used in c?
What is the right type to use for boolean values in c? Is there a standard type?
What is sizeof return in c?
What is the c language function prototype?
What is break in c?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What is the significance of an algorithm to C programming?
Is linux written in c?
How can you invoke another program from within a C program?
How do we make a global variable accessible across files? Explain the extern keyword?