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

When is the destructor called?

990


Can we use struct in c++?

982


How to declare an array of pointers to integer?

1098


Which of the following is evaluated first: a) && b) || c) !

2325


What are the different types of polymorphism in c++?

1090


What are the four partitions in which c++ compiler divides the ram?

1185


Can we change the basic meaning of an operator in c++?

1088


What are iterators in c++?

972


What is abstraction in c++?

1299


What is a responder chain?

1025


Define pre-condition and post-condition to a member function in c++?

1108


What are static and dynamic type checking?

1041


What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

995


Show the declaration for a pointer to function returning long and taking an integer parameter.

1090


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

1031