answersLogoWhite

0

What is storage claases in c language?

Updated: 8/10/2023
User Avatar

Manmohansingh11

Lvl 1
14y ago

Best Answer

storage classes is important part of c language.WHENEVER we define any function in c program then we can call that in every definend class.

there are four types of storage class. these are...

1 AUTO OR AUTOMATIC STORAGE CLASS

2 REGISTER STORAGE CLASS

3 STATIC STORAGE CLASS

4 EXTERNALSTORAGE CLASS

1) The features of "AUTOMETIC" storage class are as under some conditions:

storage : storage will be in memory.

value : garbage value.

scope : scope is local to block to the variable.

life : till, controls remain within the block.

2) The featurs of "STATIC" storage class are as under some conditions:

storage : memory.

value : zero.

scope : local to block.

life : Till control remains within the block.

3) The featurs of "REGISTER" storage class are as under some conditions:

storage : register.

value : garbage value.

scope : local to the block.

life : value persists between variable.

4) The feature of "EXTERNAL" storage class are as under some conditions:

storage : memory.

value : zero.

scope : local to block.

life : till controls remains within the block.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

They is static, auto, extern and typedef. (Well, typedef aint't an actual storage class, it means type-definition.)

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is storage claases in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Storage classes available in c language?

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.


What are c storage classes?

storage classes determines the part of memory where storage is allocated for an object. a scope specifies the part of the program which a variable name is visible, that is accessibility of the variable by its name. in c language there are four storage classes automatic, external, register, static.


Why you need to declare auto storage class specifier in c language?

We don't. The auto storage class is the default storage class for all local variables and is therefore completely redundant in C. It exists for no other reason than that C evolved from B and inherited all its storage classes (auto, static, extern and register).


What are storage classes in c language?

There are Four main storage classes are there in c language 1.static(0 is default value of this class ,local area) 2.auto( Garbage value is default value of this class,local area) 3.register(Faster execution i.e, CPU receives values directly from register) 4.extern(specification for out of program)


Why c language has name c why not a?

C-language was derived from B-language.


What is previous language of c language?

language before c language is pascal


What is C language what does it do?

C Language is First Step of Programming Language, Help for C Language you are show the correct answer


What is the advantages of storage class in c?

advantage of storage classes


Explain the different access storage specifiers available in c?

The storage class specifiers in C and C++ are:autoexternmutableregisterstatictypedefA storage class specifier is used to refine the declaration of a variable, a function, and parameters


When you declare an variable in c language where it will be stored in the computer?

Nowhere, variables exist only during the program run. If you want permanent storage, use files.


Where can i take It claases online?

A person can take IT classes online through their local community college or online university.


What is the topNet class that everything is derived from in c?

C language: int (but C is NOT a .net language) C# language: object or System.Object