Study 0/ a program We consider a program which dec1ares two global variables, A and B, of
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 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;
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Design Of Dependable Computing Systems
ISBN: 978-9048159413
1st Edition
Authors: J C Geffroy ,G Motet
Question Posted: