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

Discussion

Variable which uses same name in whole program and in its all routines thus best classified as

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

Answer: D

Correct answer: global variable

A variable visible throughout the program and in all its routines is global. One confined to a single routine is local.

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

Post your comment

Please log in or register to post a comment.