Question: procedure brandybuck (int a, int b, int c ) start b:=b+5; b:=a+c+4; print a,b,c; end procedure main start int j:=10; ink k:=15; brandybuck (j,j,j+k); print

procedure brandybuck (int a, int b, int c ) start b:=b+5; b:=a+c+4; print a,b,c; end procedure main start int j:=10; ink k:=15; brandybuck (j,j,j+k); print j,k; end 1. All parameters are call by value (CBV) 2. Call a,b by reference, and c by value 3. Call a, b by value-result and c by value 4. All parameters are call by name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
