Easy explanation of static, extern, and volatile keywords: C programming

  Рет қаралды 2,890

Steppe School

Steppe School

Күн бұрын

The video explains Static, Extern, and Volatile keywords in C using uncomplicated examples.
Please check my website if you are into robotics and STM32 programming:
www.steppeschool.com
0:00 static keyword
2:42 extern keyword
4:16 volatile keyword

Пікірлер: 9
@MyMcMichael
@MyMcMichael 5 ай бұрын
Finally I understand "volatile". I never heard such a good explaination of this word
@steppeschool3629
@steppeschool3629 5 ай бұрын
Finding my content useful means a lot to me.
@cbwatters
@cbwatters Жыл бұрын
excellent lesson, brilliant teaching Yerke!
@steppeschool3629
@steppeschool3629 Жыл бұрын
thanks a lot!
@intjengineering
@intjengineering Жыл бұрын
Thanks for the video, man. That's really great content. But please learn the right pronunciation of the word 'variable'.
@steppeschool3629
@steppeschool3629 Жыл бұрын
Thank you for the feedback😀. Happy to be helpful
@1975nacgul
@1975nacgul 2 ай бұрын
3:52 why it get 6?
@steppeschool3629
@steppeschool3629 2 ай бұрын
because I get access to global_temp_value in another file using extern keyword and increment it within print_global_var function.
@1975nacgul
@1975nacgul 2 ай бұрын
@@steppeschool3629 can we use static in interupt handler?
A const int is not a constant.
9:16
Jacob Sorber
Рет қаралды 66 М.
Global variables in a multi-file project in C
8:42
CodeVault
Рет қаралды 15 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 115 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,7 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
The importance of Volatile keyword-Part 1
9:54
Fastbit Embedded Brain Academy
Рет қаралды 32 М.
The Most Useless Keyword in C?
10:26
Jacob Sorber
Рет қаралды 68 М.
Static Local Variables | C Programming Tutorial
6:17
Portfolio Courses
Рет қаралды 8 М.
C Question 5: What are const and volatile keywords?
10:47
Rugved V Deolekar
Рет қаралды 13 М.
The Embedded Way - The volatile keyword in C
5:47
Siemens Embedded
Рет қаралды 44 М.
Header Issues: Guards, Name Mangling, and extern "C"
8:32
Jacob Sorber
Рет қаралды 75 М.
Use STM32 Flash Memory to store data Permanently
13:34
Steppe School
Рет қаралды 2,6 М.
How to use the volatile keyword in C?
6:48
Jacob Sorber
Рет қаралды 68 М.
STM32 ADC Complete Guidance: Polling, Interrupt, and DMA Modes.
17:55
Union Data Types | C Programming Tutorial
11:42
Portfolio Courses
Рет қаралды 13 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 115 МЛН