WEBVTT

00:00.000 --> 00:16.000
Hi friends, welcome to Tinker's funny channel

00:16.000 --> 00:28.000
Today we are going to see about a variable. This
is a very important concept for programmers

00:28.000 --> 00:37.000
If you have started a big program, you
can use this variable to make it useful

00:37.000 --> 00:49.000
Before we go to the lesson, if you have not subscribed to our channel yet,
please subscribe to our channel by clicking the red subscribe button below

00:49.000 --> 01:06.000
Today we are going to see about a variable. A
variable is a temporary variable stored in a memory

01:06.000 --> 01:13.000
I have given the definition here. Small
section of the computer memory called variables

01:13.000 --> 01:25.000
The data which is given as a variable will
store as a temporary base in the memory

01:25.000 --> 01:38.000
This is not a permanent thing

01:38.000 --> 01:48.000
For example, I am going
to write X is equal to 10

01:48.000 --> 01:56.000
For example, the 10 which is
given as a variable is the data X

01:56.000 --> 02:04.000
We have studied this in mathematics. The
10 which is given as a variable is 10

02:04.000 --> 02:13.000
X is equal to 10. X is equal to 10. Now
if I change this to 20, what will happen

02:13.000 --> 02:22.000
X becomes 20. If I change this
to 1, what will happen to X

02:22.000 --> 02:31.000
X will become 3. The value which is
given in the right will be in the left

02:31.000 --> 02:46.000
We can say that it is right to left. The value which
is given in the right will be stored in the variable

02:46.000 --> 02:56.000
The value can be 10, 20, 100, etc.
But this is a temporary storage

02:56.000 --> 03:07.000
This is not a permanent storage. The data which is given
as a variable will store as a temporary base in the memory

03:07.000 --> 03:15.000
The data which is given as a variable will
store as a temporary base in the memory

03:16.000 --> 03:23.000
First, we saw a definition. Small section
of the computer memory called as variable

03:23.000 --> 03:32.000
Small section. Small section. The name
of the section is called as variable

03:32.000 --> 03:40.000
If you understand this concept deeply,
you will be very lazy. Right to left

03:40.000 --> 03:45.000
The value which is given as a
variable will be stored in the left

03:45.000 --> 03:52.000
This is what we call as variable. I
hope you can understand this concept

03:52.000 --> 04:02.000
Next thing is, Variable is a declaration.
What is a variable declaration

04:02.000 --> 04:10.000
We are going to see how to declare a
variable. When you declare a variable

04:10.000 --> 04:16.000
When you declare a variable, It creates
a variable. When it creates a variable

04:16.000 --> 04:26.000
You need to note two important things. First,
the name of the variable which you created

04:26.000 --> 04:32.000
Next, data type. What is data
type? We will see that later

04:33.000 --> 04:41.000
What is name of the variable? It
can be any number like X, Y, V. But

04:41.000 --> 04:48.000
When you create a variable, You need to
follow some rules. These rules are given here

04:48.000 --> 05:00.000
The name cannot be start using numbers. This
is very important. Name cannot be Name Hmm
