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 long in c++?
How would you obtain segment and offset addresses from a far address of a memory location?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
Write a Program for find and replace a character in a string.
Write a program which employs Recursion
Define anonymous class.
Tell me difference between constant pointer and pointer to a constant.
Write a program using display() function which takes two arguments.
How does the copy constructor differ from the assignment operator (=)?
Write is a binary search tree? Write an algo and tell complexity?
What is the array and initializing arrays in c++?
What is std :: flush?
What is polymorphism & list its types in c++?
What is a driver program?