What are pass by value and pass by reference?what is the disadvantage of pass by value?


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

Post New Answer

More C++ Interview Questions

Is deconstructor overloading possible? If yes then explain and if no Then why?

1 Answers  


Write a C++ Program to find Square Root of a number using sqrt() function.

1 Answers  


What are the advantages and disadvantages of B-star trees over Binary trees?

0 Answers  


Write a C++ Program to Display Number (Entered by the User).

1 Answers  


What is wrong with this statement? std::auto_ptr ptr(new char[10]);

0 Answers   Amazon,






What is the difference between realloc() and free() in C++?

0 Answers   IBS, TCS,


What does it mean to declare a function or variable as static?

0 Answers   Amazon,


Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70

1 Answers  


How does stack look in function calls? When does stack overflow? What can you do to remedy it?

0 Answers   Adobe,


What do you know about Volatile keyword in C++? Explain with an example code.

0 Answers   Adobe,


When would you use a pointer? A reference?

0 Answers   Amazon,


Can we call a virtual function from a constructor?

1 Answers  


Categories