[c][explained] Demystifying Pointers - Pass by Value vs. Pass by Reference

  Рет қаралды 22,578

theteachr

theteachr

Күн бұрын

Пікірлер: 33
@sameerkulkarni8176
@sameerkulkarni8176 4 жыл бұрын
Crystal clear explanation with next level editing!!!! Keep up the good work bud. Looking forward to many more......
@theteachr
@theteachr 4 жыл бұрын
Glad you liked it! Thank you so much. More to come!
@kraymis2271
@kraymis2271 Жыл бұрын
THIS IS LITERALLY THE MOST USEFUL AND PERFECT EXPLANATION! THANK YOU SO MUCH
@prospektnova9004
@prospektnova9004 2 жыл бұрын
Your tutorials are simply amazing and underrated by the algorithm. I wish I found this earlier.
@amanimavu810
@amanimavu810 2 жыл бұрын
This was really a clear explanation. Liked the use of the animations too.
@hermitao1762
@hermitao1762 4 жыл бұрын
Thank you!! I learned a lot, keep it up.
@theteachr
@theteachr 4 жыл бұрын
Thank you! Glad it was helpful!
@fantasticwolf4238
@fantasticwolf4238 2 жыл бұрын
I really like how you make this as simple as possible and the visualisation techniques aswell..keep on going 👍👍
@bydefinition7964
@bydefinition7964 4 жыл бұрын
Please keep it up You ROCK!!!
@drewdwyer6875
@drewdwyer6875 9 ай бұрын
Thank you for this video!
@jayleimer3836
@jayleimer3836 4 жыл бұрын
Great work, please keep it up
@theteachr
@theteachr 4 жыл бұрын
Thank you so much, will do!
@JeffChentingwei628
@JeffChentingwei628 4 жыл бұрын
clc-wiki.net/wiki/C_language:Terms:Pass_by_reference C does not directly support pass by reference because it always uses pass by value.
@MrSomethingdark
@MrSomethingdark Ай бұрын
That's good to say but you should finish your thoughts though. After reading what you posted from the wiki they do say that although it is not supported one can implement it. Step away from the Stack Overflow mentality. I forgot this actually and you reminded me of the pass by value only. But I admit it and add to the full solution. Theteachr is good because he finishes his thought, he goes the length to explain it all. I love the tutorials because of that not because of half finished thought that leave space for interpretation.
@anasseddafir4215
@anasseddafir4215 4 жыл бұрын
Besides you and Bjarne Stroustrup I haven't seen a single person explain the need for pointers properly.
@tejaswi1995
@tejaswi1995 4 жыл бұрын
Great content
@theteachr
@theteachr 4 жыл бұрын
Thank you 🙌🏻
@umangpandey1783
@umangpandey1783 4 жыл бұрын
Holy shit you are underrated...
@vittorioromeo1
@vittorioromeo1 4 жыл бұрын
I really like the visualizations. How are you making them?
@theteachr
@theteachr 4 жыл бұрын
Thank you! I use Keynote.
@clashofindia6056
@clashofindia6056 9 ай бұрын
You are amazing❤.
@Codeccino
@Codeccino 3 ай бұрын
Great work. What is the application you used to create these graphics and animations
@theteachr
@theteachr 3 ай бұрын
theteachr.github.io
@Entertainment14336
@Entertainment14336 Жыл бұрын
how you did animation tell me process...
@vikas2__4
@vikas2__4 9 ай бұрын
@sajadzirak43
@sajadzirak43 2 жыл бұрын
Thanks a lot
@danielherbert5291
@danielherbert5291 Жыл бұрын
Pointers, and call by value demystified (check)
@faridnubaili7917
@faridnubaili7917 Жыл бұрын
Why not using void function and just swap a and b? Is there any disadvantage of doing so?
@theteachr
@theteachr Жыл бұрын
Can you be more specific on using void function and just swap? What would its signature be?
@florian_ariasu
@florian_ariasu 2 жыл бұрын
U amazing man!
@RagHelen
@RagHelen 4 жыл бұрын
Doesn't convince me. There must be a reason, why variable name are not good enough for doing anything in C.
@theteachr
@theteachr 2 жыл бұрын
If you have a big struct and you want to pass it to a function by value, you're going to be copying all its contents over to function's stack frame, which is definitely costlier than passing it by ref, where at max you're going to take up 8 bytes per argument.
[c][explained] Demystifying Pointers - Size of a Pointer
5:03
theteachr
Рет қаралды 4,1 М.
you will never ask about pointers again after watching this video
8:03
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Passing Pointers to Functions -- C++ Pointers Tutorial [7]
19:22
Professor Hank Stalica
Рет қаралды 2,9 М.
[c][explained] Demystifying Pointers - What are they?
5:01
theteachr
Рет қаралды 10 М.
Call By Value & Call By Reference in C
8:34
Neso Academy
Рет қаралды 1,4 МЛН
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 341 М.
Should I pass by const reference or by value?
10:45
The Cherno
Рет қаралды 113 М.
Pass By Reference | C Programming Tutorial
10:12
Portfolio Courses
Рет қаралды 40 М.
Reference Vs Value In JavaScript
15:12
Web Dev Simplified
Рет қаралды 187 М.
Essentials: Pointer Power! - Computerphile
20:00
Computerphile
Рет қаралды 467 М.
C++ Pass by Value, Reference, Pointer Explained
9:33
Caleb Curry
Рет қаралды 47 М.
what even is a "reference"?
5:44
Low Level
Рет қаралды 144 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН