When to use “const” reference arguments in a function?


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

Post New Answer

More C++ General Interview Questions

What are activex and ole?

0 Answers  


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


program in c++ to input digits and print in words

1 Answers   Microsoft,


What are the various oops concepts in c++?

0 Answers  


What are the sizes and ranges of the basic c++ data types?

0 Answers  






What is Object Oriented programming.what is the difference between C++ and C?

8 Answers   Infosys,


structure that describe a hotel with name, address,rooms and number of rooms

2 Answers  


What is anonymous object in c++?

0 Answers  


Why do we use using namespace std in c++?

0 Answers  


What is the need of a destructor? Explain with the help of an example.

0 Answers  


What kind of jobs can I get with c++?

0 Answers  


Describe about storage allocation and scope of global, extern, static, local and register variables?

0 Answers  


Categories