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.
Loading...
Related Quiz
- What is the return type of the fread function in C?
- When using dynamic memory allocation for arrays, which standard library function is used to release the memory that was previously reserved?
- What is the primary purpose of structures in C programming?
- What is the primary purpose of using typedef in C programming?
- How can command line arguments be used to influence the flow of a program at runtime?