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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is map thread safe c++?

1080


Can you please explain the difference between using macro and inline functions?

1043


What is the auto keyword good for in c++?

1191


What are namespaces in c++?

1099


Why is c++ not purely object oriented?

1013


What is the difference between set and map in c++?

1136


What is the role of static keyword for a class member variable?

1074


What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?

1057


What is the need of a destructor? Explain with the help of an example.

1029


Differentiate between a pointer and a reference with respect to c++.

1246


What are the two main components of c++?

1103


What is the difference between ++ count and count ++?

1146


What is virtual destructor ans explain its use?

1130


Explain the properties and principles of oop.

1030


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2692