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


Live example for static function?



Live example for static function?..

Answer / sachinmundhra

Live Example for static function is Singleton class.

Static Method is used and called to get the instance of
class.

class Base
(
private:
Base()
public:
static Base* GetObject() // This is a static method
};

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More C++ General Interview Questions

Why should you learn c++?

0 Answers  


What is ios :: in in c++?

0 Answers  


What is prototype for that c string function?

0 Answers  


What is vectorial capacity?

0 Answers  


What is c++ vb?

0 Answers  


Differentiate between an array and a list?

0 Answers  


What is scope of a variable? (LOLZ)

2 Answers   CA, TCS,


Why do we use using namespace std in c++?

0 Answers  


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

0 Answers  


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

0 Answers  


Define precondition and post-condition to a member function?

1 Answers  


What are dynamic type checking?

0 Answers  


Categories