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)

SYSTEMS PROGRAMMING - MACRO PROCESSOR MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which of the following macros can put a macro asse... >>
<< What are x and y in the following macro definition...