Skip to main content

Posts

Showing posts from August 29, 2016

Cs304 current solved papers 2016

For more discuss and ask question join this group   https://www.facebook.com/groups/143792885956764/ Solved   By : Tahir Siddiqui(Mani) BC-140201235@Vu.edu.pk Download In PDF Format Cs304 current papers 2016 Q: THREE MOST IMPORTANT FEATURE OF VIRTUAL FUNCTION Ans :- A virtual function is a member function that is declared within a base class and redefined by a derived class. To create virtual function, precede the function’s declaration in the base class with the keyword virtual. When a class containing virtual function is inherited, the derived class redefines the virtual function to suit its own needs. A virtual function in C++ is : - A simple member function of a class which is declared with “virtual” keyword - It usually performs different functionality in its derived classes. - The resolving of the function call is done at run-time. Q:   IS IT POSSIBLE TO HAVE VIRTUAL CONTRUCTOR JUSTIFY YOUR ANS? ANS : Logic reason You use the virtual keywor