Hi

Please can anybody Tell me
1.what is virtual function in c++?
2.can we create virtual constructor and destructor and how to use it

Ok after answering two of your questions I realize that you are just creating one thread for everyone of your questions and just delegating the work of finding the answers to these questions.
Go look into some books,google the key words out,try to implement them and then if you get some doubts then, come back to us.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.