Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the basics of classifying different storage types,
why?

Answer Posted / sv

Automatic
External
Static
Register

Automatic is local storage applied for local variables.

External is global variable,which shall be accessed through
out the program at any modules.

Static retains its values and live till end of the program,
but not visible to all modules, hence accessible with in
the scope.

Register: In few program, where performance is high
importance we can use register storage, so that access
overhead is less.In this storage type , an varible always
uses the register for read/write.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are vectors passed by reference c++?

993


When does a name clash occur in c++?

1173


What is this pointer in c++?

1406


What is the insertion operator and what does it do?

1049


What is set in c++?

1135


What is the basic difference between C and C++?

1178


What is the use of structure in c++?

1040


What is purpose of abstract class?

1074


Write a program in C++ for Fibonacci series

1211


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

981


If a function doesn’t return a value, how do you declare the function?

1062


What is the difference between set and map in c++?

1136


What relational operators if statements in c++?

1180


What is the difference between while and do while loop?

1162


What is the use of class in c++?

1086