Interviewer And Interviewee Guide

Programming Interview Question:

How many ways can an argument be passed to a subroutine in programming?

Submitted by: Administrator
An argument can be passed in two ways in a programming language. They are Pass by Value and Passing by Reference.

Passing by value: This method copies the value of an argument into the formal parameter of the subroutine.

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

Read Online Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.