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

Create a programming system, Your task is to create a programming system fo...

Your task is to create a programming system for a ferry. The ferry transports passengers and vehicles (cars, busses, lorries and bicycles). The ferry has space for 200 passengers a

Need programmer to program a flex pcb, Project Description: I want a per...

Project Description: I want a person who will be able to program a flex PCB for my device as i meet the person i will be able to describe all my needs Skills required are C P

C/c++ program, luminous jewel polishing necklace,c/c++ programming

luminous jewel polishing necklace,c/c++ programming

Array, Write a program to count the prime number in array

Write a program to count the prime number in array

Explain virtual base classes, Virtual Base Classes This ambiguity can b...

Virtual Base Classes This ambiguity can be resolved if the class derived have only one copy of the class base. This can be done by making the base class a virtual class. This k

Give example of the for loop, The for Loop For loop is the controlled f...

The for Loop For loop is the controlled form of loop. The general format of this : for( initialize ; test ; update)                  {                     statements;

Define encapsulation?, A:  it is containing and hiding Information regardin...

A:  it is containing and hiding Information regarding an object, like internal data structures and code. It isolates the internal complication of an object's operation from the res

Define namespace in c++, It is a feature in C++ to reduce name collisions i...

It is a feature in C++ to reduce name collisions in the global name space. This namespace keyword assigns a separate name to a library that allows other libraries to use the simila

C program for 5 function of vowels, C Program for 5 FUNCTION OF VOWELS, CNT...

C Program for 5 FUNCTION OF VOWELS, CNT_WORDS, REVERSE void input(char a[]); void output(char a[]); void reverse(char a[], char b[]); char poli(char a[], char b[]);

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