A ________ variable in C is a variable that is declared within a function or a block and is only accessible within that function or block.

  • extern
  • global
  • local
  • static
A "local" variable in C is a variable that is declared within a function or a block and is only accessible within that function or block. These variables have limited scope, and their lifetime is limited to the duration of the function or block in which they are defined.
Add your answer
Loading...

Leave a comment

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