STL (140)
OOPS (873)
C++ General (2409) C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.
1 5965for 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 19552
Define a nested class.
What is insertion sorting?
What is oops with example?
List the advantages of inheritance.
What is use of overloading?
Differentiate between a pointer and a reference with respect to c++.
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is an example of genetic polymorphism?
What is the extension of c++?
What is heap sort in c++?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
When to use “const” reference arguments in a function?
What is size_type?
Can we sort map in c++?
What are register variables?