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
What is the difference between method overloading and method overriding in c++?
List the merits and demerits of declaring a nested class in C++?
What does new in c++ do?
Is c++ a programming language?
What is pointer with example?
How would you differentiate between a pre and post increment operators while overloading?
How do you write a function that can reverse a linked-list?
Difference between a homogeneous and a heterogeneous container
What are the four partitions in which c++ compiler divides the ram?
What is a c++ class?
What is pure virtual function?
Write my own zero-argument manipulator that should work same as hex?
Explain how the virtual base class is different from the conventional base classes of the opps.
What is a dll entry point?
Implement stack operations with pointers with appropriate exception checks.