Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the different types of Storage classes?

Answers were Sorted based on User's Feedback



What are the different types of Storage classes?..

Answer / saroj das ,balsore

storage class is an instruction that give compiler 4
instructions . there are 4 type storage class 1) automatic,
register , static ,external

Is This Answer Correct ?    44 Yes 1 No

What are the different types of Storage classes?..

Answer / 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

What are the different types of Storage classes?..

Answer / ranjeet garodia

answers given by Manjusinga about static is wrong:

it will be

4.Static: Once you declare the variable as static it exist
till the life of the program.

Is This Answer Correct ?    17 Yes 3 No

What are the different types of Storage classes?..

Answer / anil

internal static is a storage that is local to the program
and is allocated prior to execution time.That is at
executing time this storage exists,it is reserved for all
time,whether it is used or not and the values remain same
throughout the calls

Is This Answer Correct ?    9 Yes 1 No

What are the different types of Storage classes?..

Answer / narendra kumar

ans 2 is correct but only a wrong thing in this is static
means it's scope exits through out the programme.it is same
as the global declaration of the object.
ex. static count=0;
++count
it will give 1
in another function we use ++count than it will give 2 not 1

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More C++ General Interview Questions

Where Malloc(), Calloc(), and realloc() does get memory?

0 Answers  


What is linked list in c++?

0 Answers  


What is polymorphism in c++? Explain with an example?

0 Answers  


How to give an alternate name to a namespace?

0 Answers  


What is the importance of mutable keyword?

0 Answers  


write the programme that convert a interger to biniry number

1 Answers   Amazon,


What is an inclusion guard?

0 Answers  


Why cout is used in c++?

0 Answers  


What is a constant? Explain with an example.

0 Answers  


How to access a variable of the structure?

0 Answers  


What is c++ hash?

0 Answers  


How do you flush a buffer in c++?

0 Answers  


Categories