C37. Local and Global variables in C

Опубликовано: 24 Июль 2026
на канале: Tech Courses
96
20

In this video , we are going to discuss about local and global variables in C.

Summary:
Local Variables -
Declared inside a function or block.
Accessible only to statements inside that function or block.
No default value.
Declared and initialized at same place

Global Variables -
Global variables are defined outside functions.
Can be accessed from any function.
Default value is 0.
Can be declared separately from its initialization using extern keyword.

Audio language : Hindi
In this course , we are going to cover all C concepts in simple and easy to understand terms.
This course will start from basics and later on we will cover advance topics that are important from interview point of view.

Github : https://github.com/TechCourses4u/C-La...

Programs :
https://github.com/TechCourses4u/C-La...