All language subtitles for 9. Casting Introduction

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,240 --> 00:00:01,440 What is going on, guys? 2 00:00:01,440 --> 00:00:04,740 And welcome back to our C programming chorus. 3 00:00:05,220 --> 00:00:06,150 My name is Vlad. 4 00:00:06,270 --> 00:00:07,440 This is Alphatech. 5 00:00:07,530 --> 00:00:13,360 And in this video, we are going to talk about a really important topic called casting. 6 00:00:13,620 --> 00:00:19,230 So we know that in C language, we can create different variables of different types to hold different 7 00:00:19,230 --> 00:00:19,620 data. 8 00:00:19,920 --> 00:00:25,860 Now, if we've come to think about mathematical operations, then some of doing the jurors should definitely 9 00:00:25,860 --> 00:00:27,420 also be an integer. 10 00:00:27,420 --> 00:00:27,720 Right. 11 00:00:27,960 --> 00:00:34,740 And also, we can say that the sum or that a vision of two floating point numbers is also expected to 12 00:00:34,740 --> 00:00:36,770 be of a floating point type. 13 00:00:37,070 --> 00:00:42,330 Meaning that if two numbers are of the same type, then usually we would have expected the result of 14 00:00:42,390 --> 00:00:46,800 any math operation between them to be of that same particular type. 15 00:00:46,980 --> 00:00:48,600 Like we can see right now. 16 00:00:48,900 --> 00:00:50,730 But that's not always the case. 17 00:00:50,760 --> 00:00:53,010 Suppose you've got two integer numbers. 18 00:00:53,040 --> 00:00:55,070 Let's say five and two. 19 00:00:55,380 --> 00:00:57,810 Like we've seen in one of our previous challenges. 20 00:00:58,010 --> 00:01:02,430 And you want to find out what would be the result of dividing five by two. 21 00:01:02,640 --> 00:01:06,440 So on one hand, we know that five and two are two in the jurors. 22 00:01:06,450 --> 00:01:12,800 And we expect, as we've said previously, that the result should also be of an integer type. 23 00:01:13,320 --> 00:01:17,750 Then we can say that five divided by two will give us just two. 24 00:01:17,750 --> 00:01:18,150 Right. 25 00:01:18,420 --> 00:01:20,790 This means they can be in their predators. 26 00:01:20,790 --> 00:01:25,920 How many times the number two can fully be inserted into five. 27 00:01:26,280 --> 00:01:28,350 And that's exactly would be two times. 28 00:01:28,650 --> 00:01:34,950 On the other hand, if we expect and allow the result to be of type floating point, then we can definitely 29 00:01:34,950 --> 00:01:39,030 say that the result will be none other than two point five. 30 00:01:39,180 --> 00:01:44,490 So as you can see here, pretty much the result of the same mathematical operation. 31 00:01:45,330 --> 00:01:52,010 I can give you basically two different results based on the type itself in when and how to use it correctly. 32 00:01:52,020 --> 00:01:53,910 We are going to discuss right away. 2954

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.