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 4844what is the difference between function template and template of function?explain with example.
2 19421I 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 7086
How do you explain polymorphism?
What does and I oop mean?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Whats is abstraction in oops?
Why is polymorphism used?
What is the renewal class?
What are the benefits of polymorphism?
What is the real time example of encapsulation?
can we make game by using c
Why is destructor used?
how to get the oracle certification? send me the answer
write a C++ program for booking using constructor and destructor.
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What does and I oop and sksksk mean?