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 is const pointer and const reference?
Is map ordered c++?
What is a dynamic binding in c++?
what kind of projects are suitable for c and c++
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
What is the use of volatile variable?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
What are the five basic elements of a c++ program?
What are guid?
What is a base class?
What are arithmetic operators?
Why ctype h is used in c++?
Why c++ is so important?
Can we overload operator in c++?
Why is c++ called oops?