Types of storage and scope of each type

Answer Posted / p.mathiazhagan

There four types of storage is available.
1)Automatic
2)external
3)static
4)register

The first three is explained before answer...

Register variable are not using the memory. It stored
in registers. It is mainly used to fast access then
previous storage. But, It has some limitation for declaring
the variable

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between global variables and static varables?

563


What is this pointer in c++?

728


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

599


What is Destructor in C++?

634


What is the use of cmath in c++?

586






What is the difference between global int and static int declaration?

403


What is a type library?

684


What parameter does the constructor to an ofstream object take?

607


What are c++ manipulators?

605


Can we overload operator in c++?

544


What is binary search in c++?

566


Why c++ is faster than java?

590


Define copy constructor.

618


Can I learn c++ without c?

599


Can a constructor return a value?

573