Question: Consider the following pseudocode program. calc ( pass-by-reference int a, pass-by-value int b ) int n-5 a-n+ a end calc main ) intn-0 int a-

Consider the following pseudocode program. calc ( pass-by-reference int a, pass-by-value int b ) int n-5 a-n+ a end calc main ) intn-0 int a- 2 int b-3 calc (a, b) print ("a ",a, "b-", b, "n-", n) end main What is the output of the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
