Declaration vs. Definition of a variable in C

  Рет қаралды 7,565

CodeVault

CodeVault

2 жыл бұрын

Source code can be found here:
code-vault.net/lesson/6d7531s...
===== Support us through our store =====
code-vault.net/shop
===== Check out our website =====
code-vault.net
===== Check out our Discord server =====
discord.code-vault.net

Пікірлер: 24
@189Blake
@189Blake 2 жыл бұрын
Off-topic: Nice to see you back, you're the best C channel on the whole KZbin
@CodeVault
@CodeVault 2 жыл бұрын
Thanks!
@wintersol9921
@wintersol9921 2 жыл бұрын
I totally agree.
@carriersignal
@carriersignal 2 жыл бұрын
Came here not expecting much, but after watching the video I actually understand what I came here for. Very clear and to the point. Thank you!!
@omerozdemir1
@omerozdemir1 2 жыл бұрын
Happy to see you again!
@biswajit07
@biswajit07 Жыл бұрын
Thankx man! You saved my life. I read multiple links but could't understand because all of them had different answers regarding these two terms.
@wintersol9921
@wintersol9921 2 жыл бұрын
I am so happy to see you back. I think that your video series on C is the best on youtube. Your knowledge on C is the best compared to other youtube channels. What will your next videos be about? I am asking because I want to set my study contents according to that. I want to watch them all. Also, I want to thank you because you helped me a lot with my computer courses. You are a true hero :D
@CodeVault
@CodeVault 2 жыл бұрын
Thanks! I was thinking of having the next series be about object oriented programming (OOP) using C++. What do you think about that? Or would you like to see OOP in another, more modern, language?
@wintersol9921
@wintersol9921 2 жыл бұрын
@@CodeVault Well, since you have great knowledge in C, you probably have it also in C++. It would be really fun to learn C++ from you. I really like the way you teach, and I am sure many others think the same way. There are a lot of videos about OOP in modern languages like java and python. Those languages are a lot easier to learn, you can even learn them from websites. But when it comes to C or C++, it is nearly impossible to really comprehend what is really going on. You can't really understand the main thing by just reading it. I always end up in your videos when I need to look up at something about C. So I think C++ would be a nice topic for your next videos.
@onesome7713
@onesome7713 Жыл бұрын
It's Perfect video i've been looking for.. Thank you sooooo much!!
@SnowFlameSupremacy
@SnowFlameSupremacy 2 жыл бұрын
Superb video...from the title i thought it would be a mundane topic but i was able to learn new things....amazing work
@Ridful
@Ridful Жыл бұрын
Really good explanation, thank you!
@cyrilcycadiou9962
@cyrilcycadiou9962 8 ай бұрын
that was very helpful thank u so much ♥
@nipundileep1577
@nipundileep1577 2 жыл бұрын
You deserve more views
@ruruanimations
@ruruanimations 4 ай бұрын
thank you that makes sense :)
@meh....9661
@meh....9661 11 ай бұрын
This guy contributed to my CS degree more than profs.
@dimitrioskalfakis
@dimitrioskalfakis Жыл бұрын
very good presentation.
@user-pm4ng4wf8d
@user-pm4ng4wf8d Жыл бұрын
Thank you for your explanation, Can I say Declaration = Describe & Definition = Allocate . I imagine Declaration like Authentication or point of check before allow something to allocate in memory
@CodeVault
@CodeVault Жыл бұрын
Yeah, that should be fine. It's just not quite correct when talking about functions
@manuelmigoya2109
@manuelmigoya2109 Жыл бұрын
@@CodeVault Can you explain why?
@justcurious1940
@justcurious1940 Жыл бұрын
from what I understood extern int x ; is a redeclaration of x that could exist inside the same file or in an other file ? but how a declaration of a variable looks like ? is int x ; inside main is a declaration or a definition ? int x ; outside main is a tentative definition and x will be initialize to 0 by default ?
@CodeVault
@CodeVault Жыл бұрын
int x; is both a definition and a declaration (both outside and inside) extern int x; is a declaration without the definition Don't mix up initialization with definition/declaration btw
@justcurious1940
@justcurious1940 Жыл бұрын
@@CodeVault Yes, thank u for replying I get it now, please keep uploading your videos are ez to follow.
@DXenakis
@DXenakis 2 жыл бұрын
You are the C standard on utub
Declaration vs. Definition of functions in C
11:17
CodeVault
Рет қаралды 4,1 М.
Global functions in multi-file projects in C
10:39
CodeVault
Рет қаралды 8 М.
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 98 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 38 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 11 МЛН
Difference between macros and constants in C
12:42
CodeVault
Рет қаралды 11 М.
How do I access a single bit?
11:07
Jacob Sorber
Рет қаралды 20 М.
Difference between arrays and pointers in C
11:23
CodeVault
Рет қаралды 32 М.
the cleanest feature in C that you've probably never heard of
8:13
Low Level Learning
Рет қаралды 132 М.
Global variables in a multi-file project in C
8:42
CodeVault
Рет қаралды 16 М.
Sharing functions between files in C
9:00
CodeVault
Рет қаралды 28 М.
Arrays as function parameters in C
13:28
CodeVault
Рет қаралды 12 М.
Defining Constants. Should I use CONST or #DEFINE?
7:59
Jacob Sorber
Рет қаралды 56 М.
Global Variables in C++... not as easy as it seems
18:25
The Cherno
Рет қаралды 61 М.
What are variadic functions (va_list) in C?
13:49
CodeVault
Рет қаралды 20 М.
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН