1
00:00:01,940 --> 00:00:03,380
Hey, guys, what's up?

2
00:00:03,890 --> 00:00:08,660
So today we are going to learn a very important topic called Eddie.

3
00:00:10,520 --> 00:00:12,200
So first, there doesn't understand.

4
00:00:12,260 --> 00:00:12,840
Where does it end?

5
00:00:12,890 --> 00:00:14,120
And why do we need it?

6
00:00:15,080 --> 00:00:17,660
For example, there's a class in a class.

7
00:00:17,740 --> 00:00:20,750
There are supposed there are hundreds students.

8
00:00:23,130 --> 00:00:27,680
And your aim is to store the marks of each and every student.

9
00:00:28,800 --> 00:00:36,390
So what we will do, we will create hundred variables, for example, and marks off first student,

10
00:00:36,720 --> 00:00:41,010
similarly marks of second student and so on.

11
00:00:41,110 --> 00:00:43,410
Dale Marks off handed.

12
00:00:43,710 --> 00:00:44,220
Student.

13
00:00:45,240 --> 00:00:45,420
OK.

14
00:00:45,510 --> 00:00:49,170
So you will get 200 variables to store marks off under Turin's.

15
00:00:50,300 --> 00:00:57,590
But if we are having let's say, suppose thousands friend, you will have to create a thousand variables

16
00:00:57,650 --> 00:00:59,860
to St. Marks of each and every student.

17
00:01:01,060 --> 00:01:02,760
So is this approach good?

18
00:01:03,100 --> 00:01:05,050
No, this is very inefficient.

19
00:01:05,830 --> 00:01:06,230
OK.

20
00:01:06,880 --> 00:01:12,040
So when we have made the variable, then also when you will fill it out, you will you'll have to write

21
00:01:12,410 --> 00:01:12,940
marks on.

22
00:01:12,980 --> 00:01:18,760
It equals 90 marks to it, cause 95 and so on.

23
00:01:18,910 --> 00:01:20,770
So this approach is very inefficient.

24
00:01:21,550 --> 00:01:21,910
OK.

25
00:01:22,120 --> 00:01:24,040
So what we can do is we can use entity.

26
00:01:25,060 --> 00:01:26,080
So what is an array?

27
00:01:27,370 --> 00:01:36,520
So normally when we write in a when right into what will happen, we will get four by itself, mamady

28
00:01:36,640 --> 00:01:37,050
space.

29
00:01:37,840 --> 00:01:41,500
We will get one box and this box is of four bytes.

30
00:01:42,730 --> 00:01:47,160
But when you will ride into a 16.

31
00:01:48,100 --> 00:01:49,030
So what will happen?

32
00:01:49,300 --> 00:01:51,340
You will get 16 boxes.

33
00:01:52,470 --> 00:02:00,390
You will get 16 boxes each of size, four bytes, 16 boxes, each of size, four bytes.

34
00:02:02,370 --> 00:02:10,140
And the numbering in the area does not start from one, it will start from zero, so zero then one then

35
00:02:10,140 --> 00:02:13,020
to 14 and 15.

36
00:02:13,740 --> 00:02:17,400
OK, numbering it starts from zero.

37
00:02:18,060 --> 00:02:20,100
That's why the last number will be fifteen.

38
00:02:20,640 --> 00:02:28,170
So if I'm making a variable of size, if I'm making an array of size n so starting will be always be

39
00:02:28,170 --> 00:02:31,860
zero and counting always starts on zero.

40
00:02:32,090 --> 00:02:32,550
And next.

41
00:02:32,660 --> 00:02:33,630
List start some deal.

42
00:02:33,660 --> 00:02:38,720
So this will be zero and the last position will be N minus one.

43
00:02:39,760 --> 00:02:40,050
Okay.

44
00:02:41,570 --> 00:02:45,550
Now, once you get an idea, what we can do is, for example, you want to store.

45
00:02:46,490 --> 00:02:48,980
So if one equals two.

46
00:02:49,070 --> 00:02:49,820
So what will happen?

47
00:02:49,940 --> 00:02:52,820
I will go to first operation and I will write to here.

48
00:02:54,080 --> 00:02:57,440
You want to write it off five equals seven.

49
00:02:57,710 --> 00:02:58,400
So it will happen.

50
00:02:58,460 --> 00:02:59,870
You will go to fifth operation.

51
00:03:00,770 --> 00:03:04,370
Suppose it is five and you will write seven hit.

52
00:03:05,600 --> 00:03:09,050
So this Eddie can solve our problem.

53
00:03:09,090 --> 00:03:10,860
How do you do?

54
00:03:10,970 --> 00:03:11,540
We will, right?

55
00:03:12,090 --> 00:03:19,300
And marks off Henderson's will make an it also, isn't it?

56
00:03:19,820 --> 00:03:20,690
So what will happen?

57
00:03:21,590 --> 00:03:22,700
This would be my Eddie.

58
00:03:26,670 --> 00:03:29,270
Last week, be 99 and starting will be zero.

59
00:03:30,190 --> 00:03:33,440
OK, so in just one step, I have created hundred of it.

60
00:03:33,440 --> 00:03:33,920
He was.

61
00:03:35,140 --> 00:03:41,010
And I can easily use them, for example, marks of forced to student.

62
00:03:42,120 --> 00:03:42,540
Is.

63
00:03:43,570 --> 00:03:44,060
Ninety.

64
00:03:44,180 --> 00:03:52,110
So I will ride 90 hit marks off and that student under does not under doesn't exist myself.

65
00:03:53,330 --> 00:03:54,230
And that student.

66
00:03:54,530 --> 00:03:56,230
So the this it will be 99.

67
00:03:56,510 --> 00:03:56,810
OK.

68
00:03:56,930 --> 00:04:02,270
Because numbering staff, some zero sum also fun disappearances and it's a hundred.

69
00:04:02,990 --> 00:04:04,220
So I will write under here.

70
00:04:05,320 --> 00:04:05,630
OK.

71
00:04:06,230 --> 00:04:10,370
So with the help of fetti we can create many variables at the same time.

72
00:04:10,880 --> 00:04:15,410
And what will happen this, this allocation will be contiguous.

73
00:04:17,050 --> 00:04:17,280
OK.

74
00:04:17,660 --> 00:04:20,810
You will get boxes in a contiguous way.

75
00:04:20,870 --> 00:04:26,660
You will not get boxes, you like one box here, one box here, one box here, one box, sir.

76
00:04:26,690 --> 00:04:28,010
And these are not connected.

77
00:04:28,970 --> 00:04:30,290
OK, so this will not happen.

78
00:04:30,770 --> 00:04:31,460
This will happen.

79
00:04:31,460 --> 00:04:33,860
You will get memory contiguously.

80
00:04:36,480 --> 00:04:36,820
OK.

81
00:04:38,510 --> 00:04:45,920
One more thing, if I have made, for example, Lindsay and Eddie of size 10.

82
00:04:48,020 --> 00:04:53,880
So you have made an eddy of size 10 start the first index zero last year, index nine.

83
00:04:54,520 --> 00:04:57,310
OK, so you have made indigenously.

84
00:04:57,950 --> 00:04:59,930
You can write integer here, OK?

85
00:05:00,350 --> 00:05:03,860
You cannot write character here or float here.

86
00:05:04,430 --> 00:05:04,700
Why?

87
00:05:04,970 --> 00:05:08,930
Because you have made in digital array of integers.

88
00:05:10,260 --> 00:05:14,060
Similarly, we can also make it clear that a cat.

89
00:05:15,270 --> 00:05:16,400
A letter.

90
00:05:17,100 --> 00:05:17,910
So it will happen.

91
00:05:19,880 --> 00:05:21,770
I will get 10 boxes.

92
00:05:23,210 --> 00:05:25,010
Zero and nine.

93
00:05:25,370 --> 00:05:29,270
And each of size of one bite because one character is up, one bite.

94
00:05:29,660 --> 00:05:32,210
And in one box, I will store one character.

95
00:05:32,840 --> 00:05:33,110
OK.

96
00:05:33,800 --> 00:05:36,230
I cannot store of flawed or in.

97
00:05:36,800 --> 00:05:40,070
That is wrong because we have made out of characters.

98
00:05:41,060 --> 00:05:43,630
OK, so let's see how we can initialize our Eddie.

99
00:05:45,290 --> 00:05:46,750
So first, let us make it a.

100
00:05:53,700 --> 00:05:55,140
Let's name this file as.

101
00:05:59,350 --> 00:06:00,210
Adding to.

102
00:06:02,290 --> 00:06:03,070
Nazi, EPB.

103
00:06:26,140 --> 00:06:28,720
So when we ride this into, a word will happen.

104
00:06:28,750 --> 00:06:30,910
I will get four by itself, Mamadu Speace.

105
00:06:32,070 --> 00:06:36,990
But when we write and a offsides, let's say 10.

106
00:06:37,110 --> 00:06:37,770
What will happen?

107
00:06:37,800 --> 00:06:43,830
I will get 10 boxes in a contiguous contiguously in a contiguous manner, each of size, four bites

108
00:06:44,100 --> 00:06:46,280
each box will contain one indigene.

109
00:06:47,640 --> 00:06:49,050
Now, let us fill some value.

110
00:06:49,680 --> 00:06:59,850
For example, if a zero equals to a of let's say, four equals five.

111
00:07:01,150 --> 00:07:03,460
And let us bend those values, one to see out.

112
00:07:06,270 --> 00:07:15,290
Of Zito, similar Lenat I spent a fortune to see out of four.

113
00:07:20,100 --> 00:07:26,420
OK, so let us run our programs, our approach should be l zero values to a four values five.

114
00:07:26,460 --> 00:07:28,010
So my approach would be to in five.

115
00:07:31,210 --> 00:07:33,430
So I put this to one five.

116
00:07:34,580 --> 00:07:36,920
Now let's see how we can initialize our area.

117
00:07:38,230 --> 00:07:42,280
Suppose I make an eddy of size.

118
00:07:42,910 --> 00:07:43,650
Let's say forward.

119
00:07:45,700 --> 00:07:49,000
I will write like this one, two, three and four.

120
00:07:49,630 --> 00:07:51,570
So this is the way off initializing the idea.

121
00:07:51,710 --> 00:07:52,920
And footprinting that way, Lou.

122
00:07:52,990 --> 00:07:58,180
What I will do, I will write C out of zero.

123
00:07:58,870 --> 00:08:05,620
C out of one, C out of two and C out of three.

124
00:08:06,990 --> 00:08:07,240
OK.

125
00:08:08,230 --> 00:08:11,770
And line right way from zero to three.

126
00:08:11,860 --> 00:08:16,510
Because I told you that numbering in that it will always start from zero.

127
00:08:16,820 --> 00:08:19,590
And you have if you have made it at eight size four.

128
00:08:19,750 --> 00:08:20,950
So last will be three.

129
00:08:23,670 --> 00:08:24,420
So this is zero.

130
00:08:24,510 --> 00:08:27,840
This is one, this is two and the history, the moment.

131
00:08:30,360 --> 00:08:31,620
OK, so this is my ATIC.

132
00:08:33,160 --> 00:08:33,890
This is my area.

133
00:08:37,410 --> 00:08:40,050
And a four will careered this.

134
00:08:41,370 --> 00:08:48,900
And I am storing one, then two, then three and then four, and then I am printing a zero one of one,

135
00:08:48,900 --> 00:08:52,290
two, eight, two, three, and they have three years food.

136
00:08:53,070 --> 00:08:54,480
So let's print it out.

137
00:08:58,840 --> 00:09:00,860
No wonder desk comment all this.

138
00:09:06,630 --> 00:09:09,090
So I have to make an area of size.

139
00:09:10,220 --> 00:09:13,580
Poor and the values are.

140
00:09:15,210 --> 00:09:17,740
When I do commentary for.

141
00:09:18,620 --> 00:09:24,740
So these are my values and I will bend any so footprinting that I will do.

142
00:09:25,170 --> 00:09:26,740
I will bend all the way loose.

143
00:09:27,270 --> 00:09:30,000
So I see out of zero.

144
00:09:31,170 --> 00:09:33,630
See out of one.

145
00:09:35,720 --> 00:09:41,360
Similarly, Lisa, out of two and a half, three.

146
00:09:42,860 --> 00:09:44,920
So in this way, we can bend it at it.

147
00:09:45,620 --> 00:09:54,290
So what we are doing, we will go to every politician and really brand new store in that position.

148
00:09:54,590 --> 00:09:55,100
Simple.

149
00:09:56,720 --> 00:09:59,910
I'm giving spaces between each and every value.

150
00:10:03,500 --> 00:10:06,210
So this is all that we have to do for initializing that.

151
00:10:06,890 --> 00:10:08,810
So this is called initialization.

152
00:10:10,090 --> 00:10:12,360
We have initialized the values of Eddie.

153
00:10:16,260 --> 00:10:17,520
So this is initialization.

154
00:10:18,330 --> 00:10:20,770
And here we are printing the release of the edit.

155
00:10:21,840 --> 00:10:24,810
So printing printing values.

156
00:10:32,190 --> 00:10:35,610
So you get to see my output is one, two, three and four.

157
00:10:36,480 --> 00:10:36,770
OK.

158
00:10:39,920 --> 00:10:46,730
Now, I suppose if I make an error of size, then I'm only giving for the lose.

159
00:10:47,850 --> 00:10:57,840
So what I'm trying to say, in the previous case, I made an error in all size food and I give values

160
00:10:57,840 --> 00:10:58,860
one, two, three and four.

161
00:10:59,970 --> 00:11:01,170
Now, what I'm trying to do.

162
00:11:01,460 --> 00:11:07,740
I am making an area of size 10 and I am giving only four values.

163
00:11:09,160 --> 00:11:10,230
I'm giving four values.

164
00:11:10,950 --> 00:11:11,850
So what will happen?

165
00:11:13,140 --> 00:11:15,150
So venue will print all the venues.

166
00:11:16,230 --> 00:11:16,950
What will happen?

167
00:11:18,190 --> 00:11:22,530
So we will be starting from a zero then in nine.

168
00:11:25,460 --> 00:11:27,740
So what happened is when reinitialize, Eddie?

169
00:11:28,700 --> 00:11:31,970
When we initialise.

170
00:11:34,480 --> 00:11:45,030
At a rest of the position, rest of the position becomes zero.

171
00:11:46,570 --> 00:11:48,500
OK, so just one second.

172
00:11:48,570 --> 00:11:52,270
First first, let us optimize this.

173
00:11:53,260 --> 00:11:55,600
So this way of printing is very bad.

174
00:11:56,090 --> 00:12:01,220
OK, so suppose if you have had it, if you have an add it all size, let's say thousand, will you

175
00:12:01,230 --> 00:12:04,240
write like this CO2 of zero eight one, two, three, four.

176
00:12:04,270 --> 00:12:05,620
No, this is very inefficient.

177
00:12:06,490 --> 00:12:10,900
So what you can do here is suppose that the size of forward we will use a loop.

178
00:12:13,040 --> 00:12:17,020
So for the first position is zero.

179
00:12:17,160 --> 00:12:18,430
So and equals zero.

180
00:12:18,760 --> 00:12:20,020
And the last position is.

181
00:12:20,050 --> 00:12:20,890
And minus one.

182
00:12:21,400 --> 00:12:25,660
So right from equals zero then I use less than n.

183
00:12:26,030 --> 00:12:27,830
I bless, bless what I have to do.

184
00:12:27,910 --> 00:12:30,230
I have to print the values off that.

185
00:12:30,380 --> 00:12:31,030
Or C I would.

186
00:12:32,720 --> 00:12:33,380
They all fight.

187
00:12:35,190 --> 00:12:39,090
So this is much a better way of bringing the values of Eddie.

188
00:12:40,290 --> 00:12:42,630
OK, so listen, desperate for this also.

189
00:12:45,940 --> 00:12:48,010
Forward antiquity, Roy Liston and.

190
00:12:49,640 --> 00:12:51,510
I is less than OK, so endless.

191
00:12:52,240 --> 00:12:53,280
We have not used them.

192
00:12:53,350 --> 00:12:56,440
We have used for the size of the ad is for.

193
00:13:00,800 --> 00:13:02,770
So one, two, three, four is getting blended.

194
00:13:03,170 --> 00:13:09,470
So what I'm doing here is so what I'm doing here is what is the meaning of this line?

195
00:13:09,820 --> 00:13:11,750
Make four boxes.

196
00:13:12,880 --> 00:13:16,900
This is zero, one, two and three, and the venues are one, two, three and four.

197
00:13:17,410 --> 00:13:18,820
So what this will loop is doing?

198
00:13:18,910 --> 00:13:20,080
It starts from zero.

199
00:13:20,650 --> 00:13:22,180
So start from zero.

200
00:13:23,020 --> 00:13:24,370
Well, I is less than four.

201
00:13:24,460 --> 00:13:29,230
That is then I Delie is less than close to three Brindabellas.

202
00:13:29,790 --> 00:13:30,610
Out of I.

203
00:13:31,060 --> 00:13:32,790
So it will see out of zero then.

204
00:13:32,790 --> 00:13:33,200
CEO Dave.

205
00:13:33,210 --> 00:13:35,710
When does the idea of do and then the order of three.

206
00:13:36,130 --> 00:13:36,320
OK.

207
00:13:36,610 --> 00:13:39,300
So this is much better way of printing the values of the attic.

208
00:13:42,010 --> 00:13:46,470
Now, what I was trying to do is what if I make an ideal size 10?

209
00:13:47,110 --> 00:13:52,780
So I told you if we the Eddie arrest of deportation, rest of the potion becomes a zero.

210
00:13:53,620 --> 00:13:54,790
So what is the meaning of this?

211
00:13:54,940 --> 00:13:56,070
So the meaning is very clear.

212
00:13:56,080 --> 00:13:56,800
What will happen?

213
00:13:58,450 --> 00:13:59,880
The first Ford position.

214
00:14:00,350 --> 00:14:04,600
Zero, one, two and three to which I have given value.

215
00:14:04,690 --> 00:14:06,680
It will become one, two, three and four.

216
00:14:07,060 --> 00:14:07,540
And rest.

217
00:14:07,600 --> 00:14:11,230
All the politician will become zero zero zero zero.

218
00:14:11,680 --> 00:14:12,780
So this is the story.

219
00:14:12,810 --> 00:14:15,220
Zero zero zero fourth and fifth equation.

220
00:14:15,250 --> 00:14:15,910
Sixth equation.

221
00:14:16,600 --> 00:14:21,280
And similarly, the last position for areal size 10 is nine.

222
00:14:21,730 --> 00:14:23,560
So it will also be zero.

223
00:14:24,550 --> 00:14:29,170
So when you initialize, the rest of the position will become zero.

224
00:14:29,830 --> 00:14:32,920
So one, two, three, four will be there and rest all and will become zero.

225
00:14:33,190 --> 00:14:34,290
So that is tested.

226
00:14:35,710 --> 00:14:37,870
So we have made an ideal system and the values.

227
00:14:38,320 --> 00:14:39,820
I have only two and four values.

228
00:14:40,330 --> 00:14:41,440
Now let us be the area.

229
00:14:41,560 --> 00:14:45,940
So from my goal zero I listed 10 I plus plus ACMD of.

230
00:14:48,900 --> 00:14:51,570
So you can see here, one, two, three, four.

231
00:14:51,660 --> 00:14:56,090
These values we have given the rest, all the six values have become two.

232
00:14:56,670 --> 00:14:56,950
OK.

233
00:14:59,070 --> 00:15:01,490
So, for example, you have given only one venue.

234
00:15:02,320 --> 00:15:04,210
I I'm giving only one venue one.

235
00:15:04,740 --> 00:15:05,610
So what will happen?

236
00:15:05,960 --> 00:15:07,020
When will get bantered?

237
00:15:07,090 --> 00:15:07,920
Rest all patient.

238
00:15:07,920 --> 00:15:08,630
We reached zero.

239
00:15:09,030 --> 00:15:09,510
Let's see.

240
00:15:12,020 --> 00:15:18,560
You can see here arrest oil pollution of the area becomes zero when we initialize the A, similarly,

241
00:15:18,560 --> 00:15:22,070
if you initialize the area with zero, then also it will happen.

242
00:15:22,340 --> 00:15:24,640
So first value we have made zero.

243
00:15:24,960 --> 00:15:26,650
Is total value will become to.

244
00:15:30,070 --> 00:15:30,690
So again, see.

245
00:15:30,760 --> 00:15:32,140
Zero zero zero zero zero.

246
00:15:32,410 --> 00:15:35,710
So this zero is made by us.

247
00:15:35,980 --> 00:15:41,020
And this arrest of the nine best minds, it was made by the property of the Eddie.

248
00:15:44,840 --> 00:15:46,220
Now let's see some more things.

249
00:15:46,670 --> 00:15:48,290
So I'm commenting it out.

250
00:15:49,550 --> 00:15:50,690
So what will happen?

251
00:15:53,340 --> 00:15:58,830
For example, I have made an Eddie, let's say, a size 10.

252
00:16:00,650 --> 00:16:02,450
And now I am printing the.

253
00:16:02,900 --> 00:16:10,150
So, Ford, let us bring this forward and I it goes to zero I elastin.

254
00:16:11,030 --> 00:16:15,320
Sorry I lost and then I lost purse.

255
00:16:17,050 --> 00:16:20,900
See you out of I.

256
00:16:21,350 --> 00:16:22,570
So what would be my output.

257
00:16:25,490 --> 00:16:26,240
Any guesses?

258
00:16:26,300 --> 00:16:27,880
Any idea where w my output?

259
00:16:29,350 --> 00:16:30,010
So let's see.

260
00:16:35,310 --> 00:16:38,670
So 10 millions are getting printed, and all this time we lose.

261
00:16:38,940 --> 00:16:40,250
I got to be Israelis.

262
00:16:41,190 --> 00:16:41,440
OK.

263
00:16:41,760 --> 00:16:48,710
So just like so when we used to write and a and then if we tried to print it.

264
00:16:49,020 --> 00:16:50,100
So what will be printed.

265
00:16:50,310 --> 00:16:50,870
I've got to Israel.

266
00:16:50,970 --> 00:16:52,440
Luke will be printer.

267
00:16:53,610 --> 00:16:55,050
Same happens with this also.

268
00:16:55,320 --> 00:16:57,540
So you have made an area of size 10.

269
00:16:58,110 --> 00:16:59,030
So this is zero.

270
00:16:59,170 --> 00:17:00,060
And this is nine.

271
00:17:00,480 --> 00:17:01,470
So what will happen?

272
00:17:01,650 --> 00:17:04,270
All these boxes will contain garbage.

273
00:17:05,160 --> 00:17:07,600
All boxes will contain garbage.

274
00:17:08,550 --> 00:17:10,920
And the garbage vendors are getting printer.

275
00:17:12,040 --> 00:17:12,290
OK.

276
00:17:14,580 --> 00:17:16,370
OK, so let us do one more thing.

277
00:17:17,390 --> 00:17:18,110
So here.

278
00:17:22,170 --> 00:17:27,920
So instead of bringing the right of Israel, first of all, let us fill the area with values.

279
00:17:28,860 --> 00:17:30,060
So suppose.

280
00:17:32,520 --> 00:17:32,970
So what?

281
00:17:33,270 --> 00:17:34,080
So what do you do?

282
00:17:35,100 --> 00:17:36,920
First, we will fill the value of Eddie.

283
00:17:37,020 --> 00:17:45,310
So if I was let's say I multiply by, so I am feeling daddy.

284
00:17:45,810 --> 00:17:47,520
And then I am bending the value.

285
00:17:48,030 --> 00:17:48,750
So this is correct.

286
00:17:49,110 --> 00:17:50,190
So where to now output.

287
00:17:50,490 --> 00:17:51,000
Let's see.

288
00:17:53,400 --> 00:17:53,850
So.

289
00:17:55,390 --> 00:17:59,940
I am going from politician number zero till politician number nine.

290
00:18:00,720 --> 00:18:02,100
So this is potion number zero.

291
00:18:02,130 --> 00:18:07,710
This is number nine and I is trading from zero to nine.

292
00:18:08,280 --> 00:18:12,960
So what I'm doing, if I equals, I multiply by when I equals zero.

293
00:18:13,110 --> 00:18:14,340
Initially, that equals zero.

294
00:18:15,030 --> 00:18:18,390
So it offers zero equals zero multiplied by zero.

295
00:18:18,750 --> 00:18:19,950
So I will store zero here.

296
00:18:21,050 --> 00:18:24,260
It of one equals one multiplied by one.

297
00:18:24,380 --> 00:18:27,890
So I will store one here, it off two.

298
00:18:28,040 --> 00:18:29,900
It was two multiplied by two.

299
00:18:30,380 --> 00:18:32,090
So I will store four here.

300
00:18:32,500 --> 00:18:33,710
A off three.

301
00:18:33,820 --> 00:18:35,870
It was two multiplied by three.

302
00:18:36,080 --> 00:18:37,520
So I will store nine here.

303
00:18:38,090 --> 00:18:40,430
Similarly eight of eight.

304
00:18:40,570 --> 00:18:42,590
It was eight multiplied by eight.

305
00:18:42,970 --> 00:18:43,650
Sixty four.

306
00:18:43,700 --> 00:18:45,920
So at its position I will store 64.

307
00:18:46,440 --> 00:18:50,740
And similarly at the nine position I will store it one.

308
00:18:51,560 --> 00:18:54,620
So now it will be this zero.

309
00:18:54,620 --> 00:18:55,100
Then one.

310
00:18:55,100 --> 00:18:56,030
Then for the nine.

311
00:18:56,870 --> 00:18:57,480
Eighty one.

312
00:18:57,560 --> 00:18:58,160
So let's see.

313
00:18:59,720 --> 00:19:00,860
So there doesn't not program.

314
00:19:03,520 --> 00:19:08,700
OK, so you can see zero, then one, then four nine eight seven.

315
00:19:08,800 --> 00:19:12,770
So why I'm not getting our major news because first we have those.

316
00:19:13,810 --> 00:19:15,010
We have filled those boxes.

317
00:19:15,040 --> 00:19:17,200
So I will not get garbage values.

318
00:19:19,050 --> 00:19:19,290
OK.

319
00:19:21,640 --> 00:19:22,540
Now, one more thing.

320
00:19:22,990 --> 00:19:29,250
Can we write like this in a can you make any like this?

321
00:19:31,550 --> 00:19:33,110
OK, can we make a like this?

322
00:19:33,170 --> 00:19:37,640
So let us in our programs to see whether this is correct or not.

323
00:19:39,320 --> 00:19:39,950
So this is an art.

324
00:19:40,070 --> 00:19:40,450
Correct.

325
00:19:42,090 --> 00:19:43,070
OK, so that means.

326
00:19:44,520 --> 00:19:47,620
When you want to create today, you have to give the size of that.

327
00:19:48,660 --> 00:19:51,310
For example, you want to create the ideal size 16.

328
00:19:51,330 --> 00:19:52,710
That is 16 boxes.

329
00:19:53,010 --> 00:19:54,300
So you have to view size.

330
00:19:54,390 --> 00:19:56,580
You cannot ride into a.

331
00:19:57,760 --> 00:19:59,250
So this is wrong.

332
00:19:59,430 --> 00:20:01,090
You have to give size.

333
00:20:01,580 --> 00:20:03,180
Sighs Okay.

334
00:20:03,360 --> 00:20:05,200
So it is mandatory to give.

335
00:20:05,290 --> 00:20:07,280
How many number of boxes you want.

336
00:20:08,560 --> 00:20:09,880
Now, let's see, even lasting.

337
00:20:17,710 --> 00:20:21,060
See out and line.

338
00:20:22,240 --> 00:20:26,190
So suppose I have an variable B?

339
00:20:26,680 --> 00:20:27,850
So when I see out.

340
00:20:28,990 --> 00:20:31,220
When we try and bend the size of.

341
00:20:33,040 --> 00:20:36,840
So when we try and bend size of B..

342
00:20:37,390 --> 00:20:38,530
So what will be my output.

343
00:20:40,420 --> 00:20:42,280
Where the low output Y will be.

344
00:20:42,430 --> 00:20:43,210
That size.

345
00:20:43,270 --> 00:20:44,740
That variable B is of four.

346
00:20:44,750 --> 00:20:45,110
Right.

347
00:20:45,500 --> 00:20:46,720
Some are probably before.

348
00:20:50,610 --> 00:20:53,280
Some parties coming out to be for.

349
00:20:58,500 --> 00:21:00,480
Now, let us do the same thing with the area.

350
00:21:00,630 --> 00:21:03,620
Let us try to print size of the area.

351
00:21:05,130 --> 00:21:10,740
So, for example, I have an array of size 10 and what I'm doing.

352
00:21:11,410 --> 00:21:12,840
I'm only giving three way loose.

353
00:21:12,870 --> 00:21:14,640
So one, two and three.

354
00:21:16,440 --> 00:21:17,820
So what volume output?

355
00:21:18,090 --> 00:21:22,660
If I tried to print the size of it.

356
00:21:23,940 --> 00:21:25,690
So we've already made it.

357
00:21:25,710 --> 00:21:27,090
So let's make it be.

358
00:21:31,040 --> 00:21:33,510
And similarly, let's make it the.

359
00:21:34,190 --> 00:21:35,380
So what do do my output.

360
00:21:38,970 --> 00:21:40,410
So there are two options.

361
00:21:40,530 --> 00:21:43,030
There are two possibilities that would have happened here.

362
00:21:44,040 --> 00:21:45,450
And what are those possibilities?

363
00:21:47,500 --> 00:21:48,510
So the size of the.

364
00:21:48,590 --> 00:21:51,180
So the first possibilities, my output as well.

365
00:21:51,270 --> 00:21:51,600
Right.

366
00:21:52,040 --> 00:21:53,120
Second possibilities.

367
00:21:53,210 --> 00:21:54,950
My output is 40 bytes.

368
00:21:57,470 --> 00:22:02,180
Because we have given only three vendors and each value is an integer.

369
00:22:02,330 --> 00:22:03,320
That is four bytes.

370
00:22:03,410 --> 00:22:04,950
So four multiplied by three.

371
00:22:04,980 --> 00:22:12,330
You will get second possibilities for debate life four debates because we have written into the ten.

372
00:22:13,070 --> 00:22:20,180
So this means create 10 boxes, create 10 boxes and each box is an integer.

373
00:22:20,210 --> 00:22:23,840
So each box is containing four by itself, memory space.

374
00:22:24,500 --> 00:22:26,090
And there are ten such boxes.

375
00:22:26,150 --> 00:22:27,910
So four in 10 is 40.

376
00:22:28,400 --> 00:22:31,110
So let's see what the new output, 40 or twenty.

377
00:22:32,690 --> 00:22:32,990
OK.

378
00:22:38,780 --> 00:22:41,020
So now our this coming out to be 40.

379
00:22:43,470 --> 00:22:51,090
And it was obvious also, you have made 10 boxes each of size, each box is an integer, hence each

380
00:22:51,090 --> 00:22:52,740
box is a size four bite.

381
00:22:53,250 --> 00:22:54,870
And there are ten sets of boxes.

382
00:22:55,470 --> 00:22:58,830
So size of added, these will be 40.

383
00:22:59,830 --> 00:23:00,110
OK.

384
00:23:01,360 --> 00:23:02,000
OK, guys.

385
00:23:02,080 --> 00:23:03,640
So this is it for this video.

386
00:23:03,820 --> 00:23:04,470
Thank you.
