Argument be passed to a subroutine in programming, Computer Engineering

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.         



Posted Date: 4/9/2013 3:01:43 AM | Location : United States

Related Discussions:- Argument be passed to a subroutine in programming, Assignment Help, Ask Question on Argument be passed to a subroutine in programming, Get Answer, Expert's Help, Argument be passed to a subroutine in programming Discussions

Write discussion on Argument be passed to a subroutine in programming
Your posts are moderated
Related Questions
What is a SAP system? The union of all s/w components that are assigned to the similar databases is known as a SAP system.

quick sort working

This method is used to make sure that Swing components are updated by the event-dispatching thread.

What is virtual memory? Method that automatically move program and datablocks into the physical main memory when they are needed for execution are known as virtual memory.

VBA is licensed to Microsoft and this compatible with and only Microsoft products. Code written is compiled by an intermediate language known as P-code and this is stored in hostin

Q. Illustrate what is a astrophysics? Answer:- Examine of galaxies, stars and the creation of the universe including predictions about how it will proceed from here.

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Draw a neat diagram to explain major components of a web browser. The Major Component of a Web browser A browser contains a set of clients, a controller and a set o

Q. What is Serial Mouse? Mice that use standard serial port are known as 'serial'. Because Serial ports 1 and 4 (COM1, COM4 under DOS, /dev/ttyS0 and /dev/ttyS3 under Unix/GNU-

Q. What is monitoring-and-surveillance agents? ANSWER: Monitoring-and-surveillance agents or predictive agents are intelligent agents that examine and report on equipment.