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
Difference between declaration and definition of a variable.
What is lvalue?
Describe linked list using C++ with an example.
Why can templates only be implemented in the header file?
Can you write a function similar to printf()?
Why is "using namespace std;" considered bad practice?
Using a smart pointer can we iterate through a container?
What is an iterator class in c++?
Is sorted c++?
write a porgram in c++ that reads an integer and print the biggest digit in the number
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
How do you flush a buffer in c++?
What does flush do c++?
What are the benefits of c++?
What is function overriding in c++?