Q3
NATMarks unknownConsider the following high level programming segment. Give the contents of the memory locations for variables and after the execution of the program segment. The values of the variables and are and , respectively. Also indicate error conditions if any. var A, B, W, X, Y :unsigned byte; Z :unsigned integer, (each integer is represented by two bytes) begin X :=A+B Y :=abs(A-B); W :=A-B Z :=A*B end;
Sign in to save attempts.
Loading…