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 ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
What is the cout in c++?
Define a nested class.
Why is c++ still best?
Can you write a function similar to printf()?
What is code reusability in c++?
Ask to write virtual base class code?
Explain what data encapsulation is in c++?
Why are pointers not used in c++?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
What is friend class in c++ with example?
Explain the difference between abstract class and interface in c++?
Why is standard template library used?
What does the ios::ate argument do?
Where is atoi defined?