Define storage classes of c program - computer programming, C/C++ Programming

Assignment Help:

Define Storage Classes of c program - computer programming?

Each variable and function in C language has two attributes that are type and storage class. If storage class of a variable is not specify in its declaration the compiler will suppose a storage class dependent on the context in which the variable is used. The C language has got certain default storage classes.

A variable name identifies a few physical locations within the computer where the string of bits representing the variable's name is stored. The storage class determines whether the value is in CPU registers or memory.

The storage class of a variable tells

1. Where the variable should be stored?
2. What will be the initial value of the variable, if the initial value is not specifically assigned?
3. What is the scope of the variable in which functions the value of the variable would be available?
4. What is the life of the variable; i.e. how long would the variable exist? 


Related Discussions:- Define storage classes of c program - computer programming

Modified distribution method for solving transportation prob, i want a c or...

i want a c or c++ code for solving transportation problem using modified distribution method

Define how passing arrays to a function, Define How Passing Arrays to a Fun...

Define How Passing Arrays to a Function? A complete array can be passed to a function as an argument. The manner in which the array is passed be different from that of an ordin

Call by reference, Call by reference: Arguments to a function can be pa...

Call by reference: Arguments to a function can be passed in two way; one by call by value and other by call by reference.  Call by value is passed either through a constant

Program is to define a class as teacher, Program is to define a class as te...

Program is to define a class as teacher: Program is to define a class as teacher and collect information about them by using classes and object class teacher   {   pr

What if one can''t wrap the local in an artificial block?, What if one can'...

What if one can''t wrap the local in an artificial block?

Destructor, Destructor: The purpose of destructor is to free the memory...

Destructor: The purpose of destructor is to free the memory when the compiler memory is reduced or not enough to execute certain program. Sometimes there may several objects op

Car rental project, I need a project on car rental system using c programmi...

I need a project on car rental system using c programming only of college level

Assignment, can you tell me what is c#

can you tell me what is c#

Structure of cpp program, Structure of C++ Program: Chronological orde...

Structure of C++ Program: Chronological order of C++ program. 1.   Class declaration 2.   Main function program 3.   Member functions definitions 4.   Include heade

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd