January 2025
Intermediate to advanced
752 pages
17h
English
11.1 Introduction
11.2 Automatic Variables
11.3 External Variables
11.4 static Variables
11.5 static external Variables
11.6 register Variables
The variables declared in C programs are totally different from other languages. We can use the same variable names in the C program in separate blocks. When we declare a variable, it is available only to a specific part or block of the program. Remaining block or other functions cannot access the variable. Variables declared within function are called internal variables and those declared outside are called external or global variables.
The area or block of the C program from where the variable can be accessed is known as the scope of variables. ...
Read now
Unlock full access