Computer Programming

Parameter passing mechanism in C plus plus

Parameter passing mechanism in C++ :  Unlike most other programming languages, C++ offers a diversity of argument passing mechanisms: pass by value, pass by address, and pass by reference. Additional non-standard argument-passing mechanisms are also supported by certain compilers, such as passing arguments on a register. Pass by value Pass by Value is the default argument passing …