Question: Study 0/ a program We consider a program which dec1ares two global variables, A and B, of Integer type and the two following functions: function
Study 0/ a program We consider a program which dec1ares two global variables, A and B, of Integer type and the two following functions:
function Fl return integer is begin A :=A+li return Ai end Fli function F2 return integer is begin A :=2*Ai return Ai end Fi;
Determine the value of B after the execution of the following statement, assuming the initial value A = 1:
B :=Fi+F2;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
