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

What is the difference between method overloading and method overriding in c++?

1081


List the merits and demerits of declaring a nested class in C++?

983


What does new in c++ do?

964


Is c++ a programming language?

1018


What is pointer with example?

978


How would you differentiate between a pre and post increment operators while overloading?

1077


How do you write a function that can reverse a linked-list?

1052


Difference between a homogeneous and a heterogeneous container

1090


What are the four partitions in which c++ compiler divides the ram?

1167


What is a c++ class?

1045


What is pure virtual function?

1021


Write my own zero-argument manipulator that should work same as hex?

999


Explain how the virtual base class is different from the conventional base classes of the opps.

1104


What is a dll entry point?

947


Implement stack operations with pointers with appropriate exception checks.

926