for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
2 4988what is the difference between function template and template of function?explain with example.
2 19562I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
1 7203
What is overriding in oops?
What does it mean when someone says I oop?
Can bst contain duplicates?
What is polymorphism programming?
Why is oop useful?
What is encapsulation with example?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is inheritance write a program to show use of inheritance?
What is destructor in oop?
Can enum be null?
What is static in oop?
What is polymorphism and example?
#include
What are the 4 pillars of oop?
What are the advantages of polymorphism?