Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is a terminating character in c++?

0 Answers  


How does class accomplish data hiding in c++?

0 Answers  


What is object oriented programming (oop)?

0 Answers  


Types of storage and scope of each type

2 Answers   CA,


Show the application of a dynamic array with the help of an example.

0 Answers  






template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }

1 Answers   Quark,


How to get the current position of the file pointer?

0 Answers  


Is structure can be inherited?

5 Answers   HP, ST Micro,


Can a program run without main?

0 Answers  


Explain what data encapsulation is in c++?

0 Answers  


Which c++ compiler is best?

0 Answers  


Difference between pointer to constant and constant pointer to a constant. Give example.

0 Answers   HAL,


Categories