How many ways can an argument be passed to a subroutine in programming?
Ans) An argument can be passed in two way in a programming language. They are Pass by Value and Passing by Reference.
Passing by value: This process copies the value of an argument into the formal parameter of the subroutine.
Passing by reference: In this process, a reference to an argument (not the value of the argument) is passed to the parameter.