--%>

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 : Define the term Local inner class and

    Define the term Local inner class and Local variable: Local inner class: It is an inner class stated in a method. Local variable: It is a variable defined within

  • Q : Subroutine in the programming Describe

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

  • Q : Advantages of Object oriented

    Q. What are the advantages of Object Oriented Programming languages? Explain them. Ans. : Object oriented programming language has following advantages-

    Q : Define Class Class : It is a

    Class: It is a programming language concept which permits data and techniques to be grouped altogether. The class concept is basic to the notion of an object-oriented programming language. Methods of a class define the set of permitte

  • Q : What is an Unchecked exception

    Unchecked exception: An exception for which it is not needed to give a local try statement or to propagate through a throws clause stated in the method header. An exception which is not handled will cause program annihilation when it is thrown.

  • Q : What do you mean by Class variable What

    What do you mean by Class variable: It is a synonym for the static variable.

  • Q : Describe Software reuse Software reuse

    Software reuse: It is the ability to reuse software components in various contexts. The object-oriented languages aid to encourage reuse by their support of encapsulation.

  • Q : What is Modal What is Modal : A dialog

    What is Modal: A dialog is a modal when its parent application is blocked from additional activity until the dialog has finished.

  • Q : State the term dispatcher State the

    State the term dispatcher.

  • Q : Define way of kernel object outlive

    Explain the way of the kernel object outlive the process which created it.