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 best c++ book for beginners?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
Is linux written in c or c++?
What is meant by entry controlled loop?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
what is COPY CONSTRUCTOR and what is it used for?
What is difference between class and function?
Explain linear search.
What are the various access specifiers in c++?
What is atoi in c++?
What are the advantages of using pointers in a program?
What does scope resolution operator do?
What does override mean in c++?
write a function signature with various number of parameters.
What is a container class?