--%>

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 Sign extension Sign extension :

    Sign extension: Whenever an integer value from a type with a specific range is stored in a variable with a larger range, Java employs sign extension to determine the resultant value. The most important bit in the original value is employed to fill the

  • Q : What is the way to render XForms What

    What is the way to render XForms?

  • Q : Protocol stack of XML Web Services

    Explain the protocol stack of XML Web Services.

  • Q : Explain Structured programming

    Structured programming: It is a style of programming generally related with languages like FORTRAN, C, Pascal and so forth. Employing structured programming methods, a problem is frequently resolved employing a divide and conquer approach like stepwis

  • Q : What is an Object Object : It is an

    Object: It is an instance of a particular class. In common, any number of objects might be constructed from a class definition. The class to which an object belongs states the common characteristics of all instances of that class. In those characteris

  • Q : What is XLink What is XLink? Answer: It

    What is XLink? Answer: It is a part of the XLL specification which is concerned along with specifying links among documents.

  • Q : What is High level programming language

    High level programming language: Languages like Ada, Java, C++, and so on which give programmers with features like control structures, classes, methods, packages, and so forth. Such features are mostly independent of any specific instruction set, and

  • Q : Write a program that prints out all

    Write a program that prints out all prime numbers between 1 and 1000. Print the values out ten per line, with digits lined in proper columns.

  • Q : What are the difference between XSLT

    What are the difference between XSLT and XPath?

  • Q : Business Process Management Describe

    Describe what is Business Process Management (or BPM) in brief.