--%>

Subroutine in the programming

Describe the number of ways that an argument is passed to a subroutine in the programming?

E

Expert

Verified

The argument can be passed in two ways in the programming language. They are Pass by Value and Passing by Reference.

Passing by value: This process copies the value of an argument to the formal parameter of the subroutine.

Passing by reference: In this process, a reference to an argument (not the value of argument) is passed to the parameter.

   Related Questions in Programming Languages

  • Q : Explain the way to create a Mutex

    Explain the way to create a Mutex.

  • Q : What is Super type Super type : It is a

    Super type: It is a type with a child sub type. The sub-type or super-type relationship is more common than the sub-class or super-class relationship. An interface which is implemented by the class is a super type of the class. The interface which is

  • Q : OCIW32 dll error Normal 0 false false

    Normal 0 false false

  • Q : Ways in which Java program is less

    Give two ways in which a Java program is less likely to be compromised than the same program written in C++.

  • Q : Define the term Internet Define the

    Define the term Internet: It is a global network of numerous interconnected networks.

  • Q : ERD What is the meaning ofDerive the

    What is the meaning ofDerive the department and staff relations from the following ERD.

  • Q : Define Unbounded repetition Unbounded

    Unbounded repetition: The repetition where statements in a loop's body are executed an arbitrary number of times, according to the consequences of the statements in the loop's body. All of the loop control structures in the Java offer for unbounded re

  • Q : Describe Multiple-boot options

    Multiple-boot options: The hardware configurations of several computers are capable to run various operating system and window manager combinations. A few systems permit a user to select which combination they wish to utilize during a specific session

  • Q : Explain Functional programming

    Functional programming: It is a style of programming related with languages like Haskell. The functional programming languages are more strongly tied to a mathematical concept of `function' than imperative programming languages. This makes it simpler

  • Q : Alice 2.2 bucking bronc How do i create

    How do i create the bucking bronco in alice 2.2