1.

Passing object to a function _______________(a) Can be done only in one way(b) Can be done in more than one ways(c) Is not possible(d) Is not possible in OOPThe question was posed to me in exam.This question is from Passing Object to Functions topic in portion Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming

Answer»

The CORRECT option is (b) Can be DONE in more than one ways

The best I can explain: The objects can be passed to the functions and this REQUIRES OOP concept because objects are main part of OOP. The objects can be passed in more than one WAY to a function. The passing depends on how the OBJECT have to be used.



Discussion

No Comment Found

Related InterviewSolutions