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

Discussion

Variable with a restricted name in only one subroutine program is classified as

  • A.local variable
  • B.global variable
  • C.default variable
  • D.middle variable

Answer: A

Correct answer: local variable

A variable declared inside a subroutine and visible only there is local. Confining it prevents the routine from disturbing anything outside it.

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

Post your comment

Please log in or register to post a comment.