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

Random question, Ask question #write statement that assign random integer t...

Ask question #write statement that assign random integer to the varaible n in the (100

Tranporsition cipher, write a C program that can display the transpose form...

write a C program that can display the transpose form of a ciphertext matrix.

#palindrome, replace character into string and return value of string that ...

replace character into string and return value of string that are replaced

Fibonacci function by using simple recursive approach, Implement, in rPeANU...

Implement, in rPeANUt, the a Fibonacci function by using the simple recursive approach. The Fibonacci function can be implemented in c as follow: int fib(int x) {   if (x

Prepare windows shell extension, Prepare Windows Shell Extension Project...

Prepare Windows Shell Extension Project Description: Skills required are C++ Programming, Windows Desktop, Windows API

A palindrome is a string that reads the same from both the e, submitting so...

submitting solutions in C language should not use functions from / as these files do not exist in gcc

Constructor and destructor function with derived classes, Constructor and D...

Constructor and Destructor function with derived classes If there are constructors included in the base class and the derived class, the compiler automatically calls both of th

External iterator and an internal iterator, What is the difference between ...

What is the difference between an external iterator and an internal iterator? Ans) An internal iterator is executed with member functions of the class that has items to step th

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