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 4985what is the difference between function template and template of function?explain with example.
2 19549I 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 7196
What is encapsulation and abstraction? How are they implemented in C++?
what are the ways in which a constructors can be called?
What are the benefits of oop?
What is the real time example of encapsulation?
Write a program to sort the number with different sorts in one program ??
What is a superclass in oop?
Why do pointers exist?
What does and I oop mean?
write a program that takes input in digits and display the result in words from 1 to 1000
What is polymorphism in oop example?
Who invented oop?
What is constructor in oop?
Where You Can Use Interface in your Project
Explain the concepts involved in Object Oriented programming.
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?