Machine-translated by Google. Questions are authored in English.
Top

Discussion

In COMAL language programs, variables in program procedure are declared local using

  • A.START function
  • B.OPEN function
  • C.END function
  • D.CLOSED function

Answer: D

Correct answer: CLOSED function

Marking a COMAL procedure CLOSED makes its variables local to it, so nothing inside can disturb the rest of the program. That is COMAL's way of enforcing what Pascal gets from block scope.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.