Thursday, April 30, 2015

Class A{fn to print ‘AÂ’;}Class B {virtual fn to print ‘BÂ’ }Class C {fn to print ‘CÂ’}a ptr object is created for class C, what will be printed?

Question:Class A{fn to print 'AÂ';}Class B {virtual fn to print Â'BÂ' }Class C {fn to print Â'CÂ'}a ptr object is created for class C, what will be printed??

Answer: Hint: Read Virtual functions concept in C++

Tags:Global Interview Questions, Intel, Programming,

Please submit your Interview Answer for the above Question via replying to this post. Thank you for visiting to our blog, Have a Good Day!.



Sponsor Advertisement




Medical Billing Software

Hospital Management System Software

Hospital Management System (HMS) Software is developed for multispeciality hospitals, to cover a wide range of hospital administration and management processes with financial accounting, voucher entry, pharmacy, patients module etc features...

No comments:

Post a Comment