What is the difference between pass by reference and pass by
value?
Answer Posted / john otieno onyango
passby value a copy of the entire object is passed to the
function
While
pass by reference only the address of the object is
transferred to the function
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why we use classes in oop?
What is multilevel inheritance explain with example?
Can bst contain duplicates?
Who invented oop?
write a C++ program for booking using constructor and destructor.
What is abstraction example?
What is class and object with example?
What is the advantage of oop over procedural language?
How to hide the base class functionality in Inheritance?
What is abstract class in oops?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Is html an oop?
What does and I oop mean in text?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.