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

How to construct virtual constructor

Answer Posted / vishwa

there is no need to use vitual constructors in C++.
because the construction of the class tree will be happened
from the base class to child class.

Is This Answer Correct ?    9 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you implement a substr() function that extracts a sub string from a given string?

1100


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

1164


Can we make any program in c++ without using any header file and what is the shortest program in c++.

1169


What does it mean to declare a member function as static?

1106


What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

1096


What are the two main components of c++?

1152


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1591


What is ctime c++?

1170


What is c++ iterator?

1212


What is string in c++ programming?

1269


What would happen on forgetting [], while deallocating an array through new?

1142


How do you differentiate between overloading the prefix and postfix increments?

1137


What is c++ code?

1172


Distinguish between new and malloc and delete and free().

1070


What is the difference between the functions rand(), random(), srand() and randomize()?

1354