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
Are strings immutable in c++?
Write about the role of c++ in the tradeoff of safety vs. Usability?
Tell me can a pure virtual function have an implementation?
What is an iterator class in c++?
Explain Memory Allocation in C/C++ ?
What is the use of class in c++?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
How would you use the functions memcpy(), memset(), memmove()?
Can c++ do everything c can?
Which is better turbo c++ or dev c++?
Which is the best c++ compiler for beginners?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What is flag in computer?
Define a nested class. Explain how it can be useful.
What is the best it certification?