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

If all is successful, what should main return a) 0 b) 1 c) void

558


What relational operators if statements in c++?

646


What is the use of :: operator in c++?

601


What do you mean by ‘void’ return type?

606


Why are pointers used?

580






Are php strings immutable?

562


What do you mean by friend class & friend function in c++?

620


Show the declaration for a static member variable.

530


What is the default access level?

623


Specify some guidelines that should be followed while overloading operators?

620


Write a program which uses functions like strcmp(), strcpy()? etc

623


What is c++ similar to?

601


Describe private, protected and public?

602


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

636


Difference between class and structure.

715