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...

2. What does static variable mean?

Answer Posted / avik bagh

A static variable is a variable that you can call and use without using an object of the class it is a part of. You can use a static variable using just the class name.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wrong with this initialization?

1006


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

1030


What is the use of a ‘’ character?

1090


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1099


What is the -> in c?

1008


What is the difference between local variable and global variable in c?

1229


What are the different types of objects used in c?

1027


Explain modulus operator. What are the restrictions of a modulus operator?

1014


How do I determine whether a character is numeric, alphabetic, and so on?

1131


Which one would you prefer - a macro or a function?

1082


List some applications of c programming language?

956


What is meant by type specifiers?

1128


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1413


How can I convert a number to a string?

1177


Explain what are preprocessor directives?

1067