1
00:00:01,210 --> 00:00:03,920
So hello, everyone, and welcome back to the Gores.

2
00:00:04,380 --> 00:00:10,090
So in the last class, we learned about variables and we discussed our first new day type, which was

3
00:00:10,120 --> 00:00:15,240
and so forth through the tape was and.

4
00:00:17,140 --> 00:00:18,970
And this useful starting in Tejas.

5
00:00:21,240 --> 00:00:23,670
And it requires four bites of space.

6
00:00:26,310 --> 00:00:29,610
So in this glass, we will learn various new types.

7
00:00:30,360 --> 00:00:36,780
And we will learn which their type is used for storing, which type of data and how much space we want

8
00:00:36,870 --> 00:00:37,920
for storing that data.

9
00:00:38,820 --> 00:00:39,160
OK.

10
00:00:39,570 --> 00:00:41,390
So let's get started on that.

11
00:00:44,820 --> 00:00:48,390
Fired new empty failure.

12
00:00:50,410 --> 00:00:50,760
Safe.

13
00:00:52,100 --> 00:00:54,710
OK, so let's name it something.

14
00:00:56,990 --> 00:00:58,640
Various data types.

15
00:01:03,550 --> 00:01:06,930
Nazi CPB save.

16
00:01:14,100 --> 00:01:16,670
Has she include your stream

17
00:01:19,440 --> 00:01:23,070
using namespace SDD?

18
00:01:23,940 --> 00:01:25,890
And then I'm having and mean.

19
00:01:30,720 --> 00:01:31,830
And then return to.

20
00:01:38,550 --> 00:01:51,570
OK, so in the last class, we did something like this and I equals 10, so I is variable here and it

21
00:01:51,840 --> 00:01:52,690
is editor type.

22
00:01:56,930 --> 00:01:57,210
OK.

23
00:01:57,600 --> 00:02:01,380
So I told you, did you type tells us two things.

24
00:02:01,940 --> 00:02:07,830
Which do you do you are storing and how much space you need for storing that data.

25
00:02:09,000 --> 00:02:16,310
In case of and I was taught in teachers and I had acquired four by itself, Speace, OK.

26
00:02:17,340 --> 00:02:21,000
So how do I come to learn that indigence required for virtual space?

27
00:02:21,930 --> 00:02:25,110
So basically is a function size off.

28
00:02:26,580 --> 00:02:32,100
I will give Integer as input and it will give me that integrase for bytes of space.

29
00:02:34,200 --> 00:02:37,290
OK, so let's call it.

30
00:02:37,780 --> 00:02:38,790
OK, so let's see.

31
00:02:40,420 --> 00:02:42,210
And I equals 10.

32
00:02:44,100 --> 00:02:55,900
Okay, so first of all, let us Brindabella, if I see out really off variable I is.

33
00:02:59,450 --> 00:03:04,640
I end an end and now does print size off with Ebele.

34
00:03:05,330 --> 00:03:05,960
See out.

35
00:03:09,020 --> 00:03:13,640
Size of gator type and is.

36
00:03:16,250 --> 00:03:19,510
Size of a plane.

37
00:03:20,700 --> 00:03:20,980
OK.

38
00:03:21,650 --> 00:03:23,090
So what should be my output?

39
00:03:25,650 --> 00:03:28,580
So here, the value of FI is down.

40
00:03:29,160 --> 00:03:31,980
And here my output should be fooled.

41
00:03:33,030 --> 00:03:35,640
OK, so Blenman.

42
00:03:40,040 --> 00:03:40,960
So value of very.

43
00:03:41,260 --> 00:03:44,390
Is 10 and size order type in this food?

44
00:03:44,750 --> 00:03:45,900
OK, perfect.

45
00:03:47,210 --> 00:03:48,950
So I can also here like this.

46
00:03:49,970 --> 00:03:52,880
See old size of.

47
00:03:55,230 --> 00:03:58,550
And instead of writing, I.

48
00:03:58,890 --> 00:03:59,820
I can also write.

49
00:03:59,930 --> 00:04:02,090
And so London.

50
00:04:05,160 --> 00:04:05,330
OK.

51
00:04:05,450 --> 00:04:07,700
So you can see outproduce him forward and for.

52
00:04:10,610 --> 00:04:15,980
Let's come into doubt and here my answer is Dan.

53
00:04:18,540 --> 00:04:20,670
And here, my answer is for.

54
00:04:25,990 --> 00:04:28,780
So in the last class, we added two integers.

55
00:04:32,560 --> 00:04:35,180
And I told you, we want desensitising teachers.

56
00:04:36,610 --> 00:04:39,820
Our teachers will not be too large and it will not be too small.

57
00:04:40,230 --> 00:04:40,920
So it will do.

58
00:04:40,960 --> 00:04:46,750
We will use added a type called and intercourse four by itself memory.

59
00:04:49,290 --> 00:04:52,980
OK, so what if if I want to store small integers?

60
00:04:53,760 --> 00:04:56,160
So we have a two day dive called Short and.

61
00:04:58,730 --> 00:05:01,340
Barton, for example, let's say as equals 10.

62
00:05:03,220 --> 00:05:08,560
It will also store integers, but it requires to buy its own space.

63
00:05:10,350 --> 00:05:10,640
OK.

64
00:05:11,260 --> 00:05:19,170
Now, what if if I want to store large integers so I have a data type called long, long, long, long

65
00:05:19,300 --> 00:05:22,690
and let's say L equals 50.

66
00:05:24,260 --> 00:05:31,280
It will also start in business, but it will take eight bites of space, eight bytes of memory.

67
00:05:32,240 --> 00:05:34,520
OK, so let's write code.

68
00:05:44,100 --> 00:06:00,740
OK, so first of all, let us talk about shorthand short as a close 25 see old value of video as is.

69
00:06:03,620 --> 00:06:05,180
And then see out.

70
00:06:09,040 --> 00:06:21,630
Size of data, type short is so you out the size of S and then only.

71
00:06:24,860 --> 00:06:34,760
Okay, so what you do, my output, so the value of faces go into five and the size of as is two bytes.

72
00:06:35,240 --> 00:06:35,510
OK.

73
00:06:35,750 --> 00:06:37,970
Some are butchered between five and two.

74
00:06:38,870 --> 00:06:39,590
So let's see.

75
00:06:41,860 --> 00:06:42,660
Verlinden.

76
00:06:45,780 --> 00:06:50,450
So the value of variable as this 25 and the size of the type short is two.

77
00:06:51,330 --> 00:06:54,210
Okay, so let's give space between IS and 25.

78
00:06:56,860 --> 00:06:57,400
Space.

79
00:07:00,300 --> 00:07:01,410
Now it is looking good.

80
00:07:02,100 --> 00:07:05,620
Well, your variable as this 25 and size water type is, too.

81
00:07:06,540 --> 00:07:13,320
OK, so you can also write here like this sea out size of Schadt and.

82
00:07:17,040 --> 00:07:19,220
And later, OK, so let's move on.

83
00:07:21,360 --> 00:07:22,840
So he gets here to Endou.

84
00:07:23,890 --> 00:07:29,650
So basically you can ride like this size of S and you can also right size up short and they will without

85
00:07:29,650 --> 00:07:29,890
him.

86
00:07:31,130 --> 00:07:34,710
OK, so here my output is 25.

87
00:07:35,590 --> 00:07:38,530
And here my output is to bite.

88
00:07:39,340 --> 00:07:39,590
OK.

89
00:07:40,680 --> 00:07:43,030
OK, so now let us talk about long.

90
00:07:43,030 --> 00:07:43,330
Long.

91
00:07:44,170 --> 00:07:48,360
OK, so first of all you control C control me.

92
00:07:49,340 --> 00:07:49,660
OK.

93
00:07:50,470 --> 00:08:03,820
So long long and L a close let's say 30 C out really of variable.

94
00:08:04,710 --> 00:08:05,410
L is.

95
00:08:07,210 --> 00:08:08,230
And then end line.

96
00:08:11,000 --> 00:08:14,470
Similarly let us bend the size of long long to type.

97
00:08:15,010 --> 00:08:15,820
So we'll see out.

98
00:08:17,980 --> 00:08:22,600
Size of long, long diapers.

99
00:08:24,820 --> 00:08:30,400
Size of L.A. and then and length.

100
00:08:32,620 --> 00:08:32,840
OK.

101
00:08:32,920 --> 00:08:34,460
So what's your dream, Yardbird?

102
00:08:35,740 --> 00:08:41,230
So the value of L is tarty and sighs of hell is it about.

103
00:08:43,320 --> 00:08:46,190
OK, so let's come then.

104
00:08:50,260 --> 00:08:55,480
So the very low variable list would be and size of long integer type, is it perfectly fine?

105
00:08:57,010 --> 00:09:04,510
And just like above, we can also write C out size of long, long.

106
00:09:06,450 --> 00:09:08,650
And then and.

107
00:09:09,660 --> 00:09:11,100
So come by then.

108
00:09:13,160 --> 00:09:15,080
You're going to hear it and it.

109
00:09:16,040 --> 00:09:16,290
OK.

110
00:09:16,570 --> 00:09:17,560
So it is your choice.

111
00:09:17,620 --> 00:09:20,290
You can ride like this and you can also ride like this.

112
00:09:22,180 --> 00:09:24,160
OK, so here my outproduced turkey.

113
00:09:26,110 --> 00:09:30,160
And in this lane, my output is invite's.

114
00:09:32,140 --> 00:09:34,000
OK, so let's revise again.

115
00:09:34,840 --> 00:09:42,880
So if I want to store small integers, I will use short and short and requires two bites of space.

116
00:09:45,050 --> 00:09:45,340
OK.

117
00:09:45,820 --> 00:09:49,810
So if I want to store these in size integers, I will write and.

118
00:09:51,430 --> 00:09:53,890
It requires four bites of space.

119
00:09:55,510 --> 00:10:02,450
And if I want to store large numbers, then I will use long, long and.

120
00:10:03,610 --> 00:10:06,730
And it requires it by its own space.

121
00:10:08,780 --> 00:10:12,560
OK, so how big and how small integers?

122
00:10:12,970 --> 00:10:14,100
I can store in shorthand.

123
00:10:15,100 --> 00:10:17,560
So basically we will seed in our upcoming windows.

124
00:10:18,010 --> 00:10:22,180
Similarly, how big and how small integers I can store it.

125
00:10:22,200 --> 00:10:24,890
And they will also see this in upcoming windows.

126
00:10:25,330 --> 00:10:29,990
And similarly, how big and how small integers began store in long, long.

127
00:10:30,550 --> 00:10:32,520
We will also see it in upcoming videos.

128
00:10:32,820 --> 00:10:33,070
OK.

129
00:10:33,460 --> 00:10:39,850
So basically, just remember that here I am having to buy two space for and I am having for battle space

130
00:10:39,910 --> 00:10:44,290
and for long, long I am having eight bites of space and the minimum.

131
00:10:44,320 --> 00:10:45,720
And what makes them relevant.

132
00:10:45,730 --> 00:10:47,470
These is again storing this to the dive's.

133
00:10:47,980 --> 00:10:49,990
We will see it in our upcoming videos.

134
00:10:51,240 --> 00:10:51,510
OK.

135
00:10:52,800 --> 00:11:04,390
So, OK, so we have covered Tahlia types till now and Qahtan and long, long and OK, so let us see

136
00:11:04,720 --> 00:11:06,370
some unedited types as well.

137
00:11:07,570 --> 00:11:07,750
OK.

138
00:11:08,170 --> 00:11:13,870
So for example, can I write like this and I equals one point two three.

139
00:11:16,140 --> 00:11:17,220
Can I write like this?

140
00:11:17,790 --> 00:11:28,860
No, obviously not, because it can only store integers, individual type can only store integers and

141
00:11:28,860 --> 00:11:30,570
one point two three is not an integer.

142
00:11:31,260 --> 00:11:33,770
So we need an editor type to store when.

143
00:11:33,780 --> 00:11:34,470
One, two, three.

144
00:11:35,470 --> 00:11:39,390
Okay, so we have to digitize that can store floating values.

145
00:11:40,170 --> 00:11:46,170
So this is known as floating values and we have to do the dives that can store floating values.

146
00:11:46,980 --> 00:11:52,070
So I have fostered a type of float flawed F equals 1.0 three.

147
00:11:52,740 --> 00:11:56,490
And I have one more data type that can store floating values.

148
00:11:57,090 --> 00:12:00,220
So double the equals.

149
00:12:00,280 --> 00:12:01,320
One point two, three.

150
00:12:02,320 --> 00:12:03,660
Okay, so floor these are two.

151
00:12:03,660 --> 00:12:07,680
The type that will is also the type both store floating values.

152
00:12:08,160 --> 00:12:09,180
So what is the defense?

153
00:12:09,570 --> 00:12:10,680
Defense is very simple.

154
00:12:11,220 --> 00:12:14,310
Flawed requires four bites of space.

155
00:12:15,970 --> 00:12:18,370
And W need gigabytes of space.

156
00:12:20,800 --> 00:12:21,050
OK.

157
00:12:21,430 --> 00:12:27,850
So just like short term and longer and float has a smaller range and that will has a larger range.

158
00:12:28,840 --> 00:12:29,140
OK.

159
00:12:29,410 --> 00:12:37,940
So since Float has four by its space, it will store B sensors floating loose and that will has it by

160
00:12:37,940 --> 00:12:38,530
those space.

161
00:12:38,650 --> 00:12:40,870
So it can store big floating values.

162
00:12:41,140 --> 00:12:47,370
Fluid can store small floating wells and double can stored large floating will lose.

163
00:12:47,860 --> 00:12:48,940
Let's see an example.

164
00:12:49,660 --> 00:12:54,570
So first of all, nerds come into doubt and similarly commended.

165
00:12:55,810 --> 00:12:59,890
OK, so let us first talk about fluted, a type so flawed.

166
00:13:01,500 --> 00:13:03,880
If it was one point two, three.

167
00:13:04,630 --> 00:13:12,040
Now, first of all, let us spend the value of F sealed value of variable.

168
00:13:12,940 --> 00:13:16,070
F is C out F and then end line.

169
00:13:17,400 --> 00:13:17,610
OK.

170
00:13:18,040 --> 00:13:21,460
So now let us spend size of to type.

171
00:13:21,780 --> 00:13:29,170
So C out size of flawed data type is.

172
00:13:30,460 --> 00:13:31,740
We will use size function.

173
00:13:31,870 --> 00:13:35,740
And we'll give FS input and then enderlin line.

174
00:13:37,030 --> 00:13:39,310
OK, so what should be my output.

175
00:13:41,590 --> 00:13:45,460
So here the value of Pfeifer's one point two three.

176
00:13:45,490 --> 00:13:49,420
So one penalty should be printed and size of efforts for bytes.

177
00:13:50,140 --> 00:13:51,810
Size of floater diapers.

178
00:13:51,880 --> 00:13:52,510
Four bytes.

179
00:13:52,930 --> 00:13:54,130
So four should be printed.

180
00:13:54,790 --> 00:13:54,990
OK.

181
00:13:55,060 --> 00:13:56,030
So let's see.

182
00:13:58,190 --> 00:13:58,710
London.

183
00:14:02,590 --> 00:14:05,890
OK, so first, let us add this line between long, long and flawed.

184
00:14:06,610 --> 00:14:12,040
So condole, see, and then I am having control.

185
00:14:12,870 --> 00:14:14,800
Okay, so now let us run again.

186
00:14:18,610 --> 00:14:24,500
OK, so the value of variable life is one window, three and size up from dirty diapers, food perfectly

187
00:14:24,500 --> 00:14:24,830
fine.

188
00:14:25,520 --> 00:14:33,880
And just like above, you can also read like this see out size of fluid and line.

189
00:14:35,120 --> 00:14:37,440
So basically size of fef and size of.

190
00:14:38,150 --> 00:14:38,990
What will be some.

191
00:14:42,260 --> 00:14:43,280
Food and food.

192
00:14:44,150 --> 00:14:44,660
Perfect.

193
00:14:45,380 --> 00:14:55,880
So let's come into doubt and hear my output is one point two three and hear my output is four bytes.

194
00:14:56,540 --> 00:14:56,850
OK.

195
00:14:57,410 --> 00:15:00,560
So now let us talk about double digit type.

196
00:15:01,340 --> 00:15:07,970
Okay, so first of all, let's copy and paste condole, see and then control me.

197
00:15:13,410 --> 00:15:20,010
OK, so double B equals, let's say, three point two seven five.

198
00:15:21,630 --> 00:15:28,430
So first of all, the sprint, the value of deep sea out will be of variable.

199
00:15:28,490 --> 00:15:32,630
The is the and then end lane.

200
00:15:32,810 --> 00:15:35,620
And now let us spend size of double digit type.

201
00:15:36,080 --> 00:15:44,000
So see out the size of double digit type is.

202
00:15:45,530 --> 00:15:49,920
I will use a size or function and I will give this input.

203
00:15:50,690 --> 00:15:51,170
And then.

204
00:15:51,260 --> 00:15:53,090
And line again.

205
00:15:53,210 --> 00:15:55,040
So virtually my output.

206
00:15:57,200 --> 00:15:58,640
So I live very simple.

207
00:15:59,740 --> 00:16:01,250
Well do you have variable days.

208
00:16:01,310 --> 00:16:02,510
Three point two seven five.

209
00:16:02,870 --> 00:16:05,100
So three point two seven five should be printed.

210
00:16:05,890 --> 00:16:08,530
And similarly, size of your diapers.

211
00:16:08,720 --> 00:16:09,410
Eight bytes.

212
00:16:09,830 --> 00:16:11,060
So each should be printed.

213
00:16:12,480 --> 00:16:12,730
OK.

214
00:16:13,010 --> 00:16:14,940
So let's come, Ballenden.

215
00:16:19,180 --> 00:16:23,200
So the value of variability is steep in 2005 and signs of double digit diapers.

216
00:16:23,380 --> 00:16:23,640
Eight.

217
00:16:24,920 --> 00:16:25,930
And just like above.

218
00:16:26,740 --> 00:16:34,820
You can also ride like this, see out size of double and lane.

219
00:16:35,740 --> 00:16:41,190
OK, so instead of riding the name of the variable, you can directly write the name of the dinner type.

220
00:16:42,060 --> 00:16:43,170
So compiler then.

221
00:16:46,320 --> 00:16:47,550
Aired here and aired here.

222
00:16:48,130 --> 00:16:51,120
OK, so let's Commander Daoud.

223
00:16:52,480 --> 00:17:02,620
So you'll hear my output is three by two, seven five and hear my output is Edomites.

224
00:17:04,530 --> 00:17:14,980
OK, so now we have covered five debates and short and long, long and flawed and.

225
00:17:16,200 --> 00:17:19,560
OK, so let us see some unedited tapes as well.

226
00:17:21,210 --> 00:17:25,570
OK, so can I add like this, Aaron equals character.

227
00:17:26,680 --> 00:17:26,980
No.

228
00:17:27,960 --> 00:17:29,110
Can I write like this.

229
00:17:29,140 --> 00:17:29,540
Flawed.

230
00:17:29,630 --> 00:17:31,090
F equals.

231
00:17:31,230 --> 00:17:31,500
Correct.

232
00:17:32,320 --> 00:17:32,640
No.

233
00:17:33,920 --> 00:17:42,300
But we need added a type that can store characters and the name of this are diapers, cat GABSI equals

234
00:17:42,890 --> 00:17:46,530
a cat is a different type and that can store characters.

235
00:17:47,400 --> 00:17:55,770
OK, so you can write gang C equals A, C equals B, C equals Connecter one.

236
00:17:56,400 --> 00:17:58,140
C equals character zero.

237
00:17:58,950 --> 00:18:04,440
C was like Tacoma, C calls character space and so on.

238
00:18:05,090 --> 00:18:05,390
OK.

239
00:18:06,210 --> 00:18:12,080
Similarly we can write like this, sequels can per dollar and so on.

240
00:18:12,950 --> 00:18:16,090
Okay, so what is the size of cat.

241
00:18:16,380 --> 00:18:18,110
So the size of cat is one bite.

242
00:18:19,810 --> 00:18:21,080
Okay, so.

243
00:18:25,830 --> 00:18:28,520
Fantozzi controlled me.

244
00:18:29,760 --> 00:18:34,580
OK, so Cav sequels.

245
00:18:35,660 --> 00:18:36,310
Let's say.

246
00:18:37,740 --> 00:18:38,030
OK.

247
00:18:39,180 --> 00:18:53,870
And OK, so first of all, let us spent value of variable C C out value off variable, C is C, LC and

248
00:18:53,870 --> 00:18:54,560
then and Lane.

249
00:18:55,610 --> 00:18:58,790
Now let us spend size of gadget or type.

250
00:18:59,210 --> 00:19:08,230
So C out size of cad digit type is we will use sisal function.

251
00:19:08,360 --> 00:19:09,380
And we'll give C.

252
00:19:09,380 --> 00:19:11,930
S input and then and line.

253
00:19:14,370 --> 00:19:15,940
Okay, so, Richard, we are out.

254
00:19:16,360 --> 00:19:23,560
But okay, so the value of variable C is correctly and sizable.

255
00:19:23,580 --> 00:19:24,650
C is one bite.

256
00:19:26,130 --> 00:19:26,960
OK, so.

257
00:19:27,500 --> 00:19:28,670
And one should be blended.

258
00:19:29,000 --> 00:19:32,660
So let's see, Ballenden.

259
00:19:36,180 --> 00:19:41,090
So the value of variable C is E and size of gadgety diapers when.

260
00:19:41,850 --> 00:19:48,570
And just like, whoa, we can also write like this C out size of cat.

261
00:19:50,250 --> 00:19:52,200
And then I ran it.

262
00:19:54,930 --> 00:19:56,130
So when and when?

263
00:19:58,420 --> 00:20:03,520
Blades, Commander Dowd, and hear me out for days, eh?

264
00:20:04,130 --> 00:20:07,610
And here my output is one bite.

265
00:20:08,780 --> 00:20:10,440
OK, so

266
00:20:13,100 --> 00:20:14,150
so what can happen?

267
00:20:14,620 --> 00:20:18,130
Sometimes you just want to store whether something is true or false.

268
00:20:18,750 --> 00:20:19,070
OK.

269
00:20:19,660 --> 00:20:23,080
So sometimes you want to store whether something is true or false.

270
00:20:23,590 --> 00:20:25,180
So in that case, what will I use?

271
00:20:25,330 --> 00:20:27,190
I will use added a type Bouley.

272
00:20:29,040 --> 00:20:29,250
OK.

273
00:20:29,640 --> 00:20:30,810
So I will write like this.

274
00:20:30,970 --> 00:20:35,530
Bowlby equals true, or you can write like this.

275
00:20:35,570 --> 00:20:37,980
Boole B equals four.

276
00:20:39,360 --> 00:20:42,520
So Bull is it the type that has only two Aleuts?

277
00:20:43,200 --> 00:20:46,470
It will be true or it will be false.

278
00:20:47,500 --> 00:20:49,400
OK, so what is the size of bull?

279
00:20:49,880 --> 00:20:51,710
Sizable is when by only.

280
00:20:54,690 --> 00:20:54,920
OK.

281
00:20:56,330 --> 00:21:01,290
So you can also say blue means one and false means zero.

282
00:21:02,550 --> 00:21:04,320
OK, so let's see.

283
00:21:08,770 --> 00:21:09,450
We'll see.

284
00:21:10,660 --> 00:21:11,390
And then control.

285
00:21:13,140 --> 00:21:15,740
OK, so let's take a variable.

286
00:21:18,180 --> 00:21:31,690
It goes to C out really of variable, B is CLB and then end lane.

287
00:21:32,520 --> 00:21:45,560
And similarly, size of bool Deeter type is used sisal function and give B as input and then end lane.

288
00:21:46,410 --> 00:21:47,850
OK, so virtual real output.

289
00:21:50,490 --> 00:21:54,490
OK, so be close to Proem insulin.

290
00:21:54,810 --> 00:21:59,140
So when we live in turnier assembly size of bees, one bite.

291
00:21:59,250 --> 00:22:01,350
So my output will be one and one.

292
00:22:02,400 --> 00:22:03,780
So let's combine and then.

293
00:22:06,550 --> 00:22:11,240
So value of variable B is when one means through zero means for us.

294
00:22:11,830 --> 00:22:14,520
And similarly, the size of bullying diapers when.

295
00:22:16,090 --> 00:22:18,820
And just like above, you can read like this.

296
00:22:19,610 --> 00:22:22,840
See out size of wood.

297
00:22:23,560 --> 00:22:23,850
OK.

298
00:22:24,640 --> 00:22:25,060
And line.

299
00:22:29,070 --> 00:22:30,450
One bite and one bite.

300
00:22:31,650 --> 00:22:32,990
OK, so let's come into doubt.

301
00:22:34,440 --> 00:22:34,680
OK.

302
00:22:34,740 --> 00:22:37,680
So what will happen if I ride false here?

303
00:22:39,950 --> 00:22:40,420
Foiled.

304
00:22:41,910 --> 00:22:42,960
So nothing will change.

305
00:22:43,200 --> 00:22:44,610
Only the relief will change.

306
00:22:45,100 --> 00:22:51,950
You will be printed here, compile and run and you can see zero is.

307
00:22:52,490 --> 00:22:55,380
OK, we'll have a live very welby's foiled netted zero.

308
00:22:58,740 --> 00:23:07,520
OK, so what will happen if I write and G it quotes Ben and then I am printing Jim.

309
00:23:10,710 --> 00:23:11,640
So what will happen?

310
00:23:14,770 --> 00:23:16,020
So the value of variable J.

311
00:23:16,150 --> 00:23:18,220
Is 10 and I am printing.

312
00:23:18,370 --> 00:23:19,320
Well, your variable J.

313
00:23:19,400 --> 00:23:21,580
So 10 should be printed as expected.

314
00:23:22,150 --> 00:23:23,530
So let's see.

315
00:23:28,110 --> 00:23:30,550
OK, so Dennis printed perfectly fine.

316
00:23:31,810 --> 00:23:34,680
Now, what will happen if I remove this stain?

317
00:23:36,190 --> 00:23:37,330
Now what will be printed?

318
00:23:37,900 --> 00:23:39,310
Now what should be our output?

319
00:23:41,460 --> 00:23:42,150
So let's see.

320
00:23:43,680 --> 00:23:55,260
So when I was writing and I equals Ben Dover, this line was doing, this line was giving me four bites

321
00:23:55,260 --> 00:23:55,800
of space.

322
00:23:57,810 --> 00:24:02,670
I was naming this piece as I and I was putting Ben inside it.

323
00:24:03,810 --> 00:24:08,610
But when I am writing Entergy, then what will happen?

324
00:24:09,420 --> 00:24:13,080
This line will give me four bites of memory.

325
00:24:14,470 --> 00:24:16,190
I am naming this memory as G.

326
00:24:16,660 --> 00:24:19,120
But I am not putting inside it anything.

327
00:24:19,500 --> 00:24:21,560
OK, so I am not putting anybody inside it.

328
00:24:22,090 --> 00:24:24,490
So what will happen if I bring the value of G.

329
00:24:26,160 --> 00:24:28,590
So the answer is anything can be printed.

330
00:24:29,410 --> 00:24:30,720
I am not going anywhere, Lou.

331
00:24:31,230 --> 00:24:32,450
So anything can be rendered.

332
00:24:33,060 --> 00:24:33,340
OK.

333
00:24:33,630 --> 00:24:35,540
So let's see.

334
00:24:40,960 --> 00:24:43,120
So this value is getting printed.

335
00:24:44,540 --> 00:24:46,840
OK, so we call this Ray Lewis garbage.

336
00:24:47,830 --> 00:24:49,000
So what is happening here?

337
00:24:51,820 --> 00:24:58,960
This line is giving me four bites of memory as expected, and I'm naming this memory S.G., but I'm

338
00:24:58,960 --> 00:25:00,550
not putting anybody inside it.

339
00:25:01,090 --> 00:25:02,020
So what is happening?

340
00:25:02,180 --> 00:25:03,730
There will be a garbage value.

341
00:25:05,730 --> 00:25:09,340
OK, so there will be a garbage velu inside this four bites.

342
00:25:09,470 --> 00:25:12,860
And when I am printing G, when I am printing G.

343
00:25:13,040 --> 00:25:15,080
So this garbage value is getting printed.

344
00:25:16,790 --> 00:25:18,230
OK, so let's see one more time.

345
00:25:21,660 --> 00:25:23,730
So this garbage value is getting printed.

346
00:25:27,940 --> 00:25:36,890
OK, so let's see when one example, flawed G, C out G and Lane.

347
00:25:37,790 --> 00:25:39,260
OK, so what should be our output?

348
00:25:39,380 --> 00:25:41,350
Sound output will be a garbage value.

349
00:25:41,570 --> 00:25:42,710
So let's Blandon.

350
00:25:46,230 --> 00:25:48,570
So this is our output, which isn't garbage value.

351
00:25:49,110 --> 00:25:51,200
So this thing happened with a videotape.

352
00:25:51,780 --> 00:25:53,100
So let's see one more example.

353
00:25:54,510 --> 00:25:57,900
Bouley B to see out.

354
00:25:59,060 --> 00:25:59,710
We do.

355
00:26:00,560 --> 00:26:00,920
And then.

356
00:26:01,030 --> 00:26:01,530
And then.

357
00:26:02,400 --> 00:26:07,810
OK, so what will be our output to the output will either be a zero or it can be when.

358
00:26:08,520 --> 00:26:10,890
So Boulez's on you two values zero and one.

359
00:26:11,220 --> 00:26:12,470
So anything can be rendered.

360
00:26:12,570 --> 00:26:13,770
Zero can also be printed.

361
00:26:13,900 --> 00:26:15,210
One can also be printed.

362
00:26:15,810 --> 00:26:16,790
So let's run it.

363
00:26:19,930 --> 00:26:21,250
So zero is getting printed.

364
00:26:22,510 --> 00:26:23,980
And let's take one more example.

365
00:26:27,180 --> 00:26:30,100
See, you do see out.

366
00:26:30,880 --> 00:26:31,940
Si do.

367
00:26:32,470 --> 00:26:33,320
And an airplane.

368
00:26:35,330 --> 00:26:39,160
OK, so OK, so which connectivity be painted?

369
00:26:40,770 --> 00:26:45,240
So the answer is any good actor can be rendered any good, which correctly will be Bolinder.

370
00:26:46,290 --> 00:26:47,840
So let's come by.

371
00:26:50,490 --> 00:26:52,020
So bees getting vented.

372
00:26:53,170 --> 00:26:53,370
OK.

373
00:26:55,630 --> 00:26:57,100
So I hope you heard the logic.

374
00:26:57,280 --> 00:26:58,150
What is happening here?

375
00:26:58,720 --> 00:27:05,440
For example, in case of character, I am getting one bites of space and I am naming this piece as you

376
00:27:05,440 --> 00:27:08,140
do, but I am not putting the 10 sided.

377
00:27:09,280 --> 00:27:10,970
Today will be a default data.

378
00:27:11,190 --> 00:27:13,170
And we call this to your tires and garbage.

379
00:27:13,840 --> 00:27:16,020
OK, so why do we call this garbage?

380
00:27:16,110 --> 00:27:17,520
Because it is of no use.

381
00:27:18,060 --> 00:27:19,650
It is of no use for us.

382
00:27:22,390 --> 00:27:24,810
OK, so let's see.

383
00:27:26,960 --> 00:27:29,590
Let us discuss the last topic for today's class.

384
00:27:30,400 --> 00:27:32,440
That is naming off variables.

385
00:27:34,930 --> 00:27:36,880
Naming of variables.

386
00:27:38,920 --> 00:27:40,010
So there are fewer rules.

387
00:27:40,810 --> 00:27:41,090
OK.

388
00:27:41,440 --> 00:27:43,870
So what characters you can use for naming a variable?

389
00:27:44,110 --> 00:27:45,950
You can use small ABC.

390
00:27:46,480 --> 00:27:47,910
You can use capital ABC.

391
00:27:48,550 --> 00:27:52,690
You can use numbers like I have used here.

392
00:27:52,780 --> 00:27:54,500
B to C two.

393
00:27:55,450 --> 00:27:55,660
OK.

394
00:27:56,660 --> 00:28:02,650
OK, so one thing to note here is your variable name cannot start with a number.

395
00:28:02,890 --> 00:28:03,790
So this is wrong.

396
00:28:04,360 --> 00:28:05,730
And this is right.

397
00:28:06,490 --> 00:28:09,880
So your variable name cannot start with the number.

398
00:28:10,870 --> 00:28:11,740
And one more thing.

399
00:28:12,400 --> 00:28:14,460
Your variable name cannot be like.

400
00:28:14,830 --> 00:28:17,150
And first number.

401
00:28:18,520 --> 00:28:19,480
So this is wrong.

402
00:28:19,810 --> 00:28:22,690
You cannot give spaces between your variable name.

403
00:28:23,050 --> 00:28:24,100
You can read it like this.

404
00:28:24,480 --> 00:28:26,340
And first underscore them.

405
00:28:27,640 --> 00:28:28,510
So this is right.

406
00:28:28,600 --> 00:28:29,440
And this is wrong.

407
00:28:29,800 --> 00:28:30,060
OK.

408
00:28:31,210 --> 00:28:31,420
OK.

409
00:28:31,480 --> 00:28:33,520
So two things are very important here.

410
00:28:33,910 --> 00:28:37,180
First, you are variable name cannot start with that number.

411
00:28:37,480 --> 00:28:40,770
And second, you cannot give space between yet.

412
00:28:40,880 --> 00:28:41,560
Very big name.

413
00:28:42,590 --> 00:28:42,870
OK.

414
00:28:44,390 --> 00:28:46,240
OK, so that is all for this video.

415
00:28:46,630 --> 00:28:47,070
Thank you.
