Q:

What is the value of X printed by the following program ? program COMPUTE ( input, output ); var X : integer ; procedure FIND ( X: real ) begin X : = sqrt ( X ) ; end ; begin X : = 2 FIND(X)

0

What is the value of X printed by the following program ? program COMPUTE ( input, output ); var X : integer ; procedure FIND ( X: real ) ; begin X : = sqrt ( X ) ; end ; begin X : = 2 FIND(X);

writeln(X);
end.


  1. 1
  2. 2
  3. 3
  4. 0

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(b).2

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now