The ________ keyword in C is used to give a reference to a variable that is already defined in some other scope.

  • auto
  • extern
  • register
  • static
In C, the extern keyword is used to give a reference to a variable that is already defined in some other scope. It is often used to access global variables that are defined outside the current function or block. This keyword allows you to use variables across different scopes.
Add your answer
Loading...

Leave a comment

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