1.

Pass by reference and pass by value can’t be done simultaneously in a single function argument list.(a) True(b) FalseThe question was posed to me in exam.This question is from Passing Object to Functions topic in section Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming

Answer»

Correct choice is (B) False

The best explanation: There is no condition which specifies that only the reference pass or values pass is ALLOWED. The argument list can contain one reference pass and another VALUE pass. This helps to manipulate the objects with functions more EASILY.



Discussion

No Comment Found

Related InterviewSolutions