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
How do you traverse a btree in backward in-order?
Describe private, protected and public?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
What are move semantics?
In a function declaration what does extern means?
Why are arrays usually processed with for loop?
What is this pointer in c++?
What is :: operator in c++?
Define a pdb file.
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
Why we use #include iostream in c++?
What are function prototypes?
Specify different types of decision control statements?
Explain differences between alloc() and free()?
What are the 3 levels of programming languages?