Answer Posted / manjusinga
There are four types of storage classes.
1.Automatic: The scope is within the class that is like
local to its class
2.Extern: The scope of this is used within the class as
well as outside the class.so it is global
3.Regiter: These are mainly used for faster access of data.
4.Static: Once you declare the variable as static it will
remain constant throughout the program
| Is This Answer Correct ? | 48 Yes | 6 No |
Post New Answer View All Answers
What are all predefined data types in c++?
What are the two shift operators and what are their functions?
Is it possible to write a c++ template to check for a function's existence?
Write a C++ Program to check whether a number is prime number or not?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
how to access grid view row?
What is c++ manipulator?
What is difference between class and structure in c++?
How to give an alternate name to a namespace?
Who was the creator of c++?
Explain bubble sorting.
Why do we use pointers in c++?
Explain the differences between list x; & list x();.
Is c++ still being used?
What is anonymous object in c++?