Is c++ pass by reference or value?


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

Post New Answer

More C++ General Interview Questions

Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

0 Answers  


How a pointer differs from a reference?

0 Answers  


describe private access specifiers?

0 Answers  


What do you mean by static variables?

0 Answers  


class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable

1 Answers  






What do you mean by C++ access specifiers ?

1 Answers  


Explain "const" reference arguments in function?

0 Answers  


What is the use of endl in c++ give an example?

0 Answers  


What is one dimensional array in c++?

0 Answers  


If dog is a friend of boy, is boy a friend of dog?

0 Answers  


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

0 Answers  


List the special characteristics of constructor.

0 Answers  


Categories