You are not logged in.

#1 2017-07-31 06:49:11

Ibraheem
Webmaster
From: Capital
Registered: 2012-03-16
Posts: 22,981
Website

When an argument is passed by reference,?

Programming Languages Quizzes C / C++ Programming Language

Question:
When an argument is passed by reference,

Option A):
a variable is created in the function to hold the argument's value
Option B):
the function accesses the argument's original value in the calling program
Option C):
the function cannot access the argument's value
Option D):
a temporary variable is created in the calling program to hold the argument's value

Correct Answer is Option B):
the function accesses the argument's original value in the calling program

2017-07-31 06:49:11

Advertisement
Ads By Google

Re: When an argument is passed by reference,?



Board footer