Compiler recognizes the function as pure virtual function if A. The function if equated to 0. B. The function has no body C. If it is declared with the keyword virtual D. None

This question is related to Wipro Interview

Showing Answers 1 - 11 of 11 Answers

kummyvv

  • Jul 17th, 2007
 

I think its A B & C

Class c{

virtual afunc()=0;

}

This afunc should n't have any implementation in class c ie., parent class, its declared with keyword virtual, then its called a virtual function and if equated to 0 its pure virtual function.

  Was this answer useful?  Yes

arunMkumar

  • May 29th, 2008
 

Hi..,

                For this question ans A,B&C is absolutely correct . So if they  given as all d above; v can select it but here the other option is NONE then v ll  give the higher preference to NONE..

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions