Objects and Functions
Or
Objects as Function Arguments
OOC
4th Sem, ‘B’ Div
2016-17
Prof. Mouna M. Naravani
➢ Objects can appear as local variables inside functions.
➢ An object may be used as a function argument.
➢ Objects can be passed by value or by reference.
➢ They can be returned by the value or by functions.
➢ Ex: Obj&[Link]
References
➢ Sourav Sahay, “Objected Oriented Programming with C++”
➢ E Balagurusamy, “Objected Oriented Programming with C++”