What is a variable declared within a block or a function known as?

  • Dynamic variable
  • Local variable
  • Private variable
  • Public variable
A variable declared within a block or a function is known as a local variable, and its scope is limited to that specific block or function.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *