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 a dangling pointer in c++?
What is the difference between #import and #include?
What gives the current position of the put pointer?
What are maps in c++?
What new()is different from malloc()?
Why we use #include conio h in c++?
How does c++ structure differ from c++ class?
What is a template in c++?
What are advantages of using friend classes?
Why use of template is better than a base class?
What is c++ vb?
What is flush c++?
Why was c++ created?
What is the basic difference between C and C++?
Write about the scope resolution operator?