--%>

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 Object serialization Object

    Object serialization: The writing of an object's contents in such a manner that its state can be restored, either at a later time, or in a different procedure. This can be employed to store objects between runs of a program, or to transfer or shifts o

  • Q : Explain Default initial value Default

    Default initial value: It is the default value of any variable not explicitly initialized whenever it is declared. The fields of numeric primitive types contain the value zero by default, Boolean variables encompass the value false, char variables enc

  • Q : Explain the way to write the opening

    Explain the way to write the opening tag of an XHTML element.

  • Q : Describe the term Context Switch

    Describe the term Context Switch.

  • Q : Do I need to know SGML or HTML before

    Do I need to know SGML or HTML before learn XML?

  • Q : CSS and CSS3 State some of the

    State some of the difference between the CSS and the CSS3.

  • Q : Define Certificates Define Certificates

    Define Certificates: They are digital documents attesting to the binding of a public key to an individual or another entity. They permit verification of the claim which a given public key does in fact fit in to a given individual. The certificates hel

  • Q : Explain the java applets with a

      APPLET: an applet is an application designed to tra

  • Q : State the term Win32 State the term

    State the term Win32. Answer: Win32 considers to Microsoft 32 bit Windows API. Applications of Win32 are programs that are built along with the Win32 API.

  • Q : Define the term Critical section

    Critical section: It is a section of code in which there is potential for a race hazard. The critical sections made use of the synchronized statements or methods.