Variable Scope in C

preview_player
Показать описание
Learn C Programming Variable Scope with the Easy examples.

In this Hindi Tutorial, you will learn how to use variables in different scope in C Language.

A scope is a section of the program, and the scope of variables represents that the area of the program from there the variables can be accessed after its declaration.

Global Variables : Variables that are declared in a global scope ( scope that is outside any function) are known as global variables.

Local Variables : Variables that are declared inside a function or a block are known as local variables.
Рекомендации по теме