What is the difference between pass by reference and pass by
value?
Answers were Sorted based on User's Feedback
Answer / simran
the argument passed by refrence must be a veriable.but in
passed by value may be a constant, averiable.
| Is This Answer Correct ? | 6 Yes | 10 No |
Answer / p suresh kumar
passing an object by value is defined by the copy
constructor of that object's class. This can make pass-by-
value an extremely expensive operation.
| Is This Answer Correct ? | 11 Yes | 18 No |
Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345
Why is destructor used?
what is runtime polymorphism? For the 5 marks.
Can we call a base class method without creating instance?
which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
What is destructor example?
why function overloading is not called as pure polymorphism?
What is property in oops?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
What is difference between inheritance and polymorphism?
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.
What is oops with example?