Define pass-by-value and pass-by-reference.

What will be an ideal response?

pass-by-value: method of passing an argument that evaluates the argument and stores this value in the
corresponding formal parameter, so the function has its own copy of the argument value.
pass-by-reference: method of passing an argument that permits the function to refer to the memory holding
the original copy of the argument.

Computer Science & Information Technology

You might also like to view...

What are the benefits of using 3-D formulas?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is not used when configuring BGP?

a. router bgp 65000 b. network [ip address] mask [subnet mask] c. neighbor remote AS number [neighbor's AS number] d. All the above are used.

Computer Science & Information Technology