Hello everyone! I've been doing some mix and match with my content style lately. Just trying new things. Let me know what you think :) To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Mults You’ll also get 20% off an annual premium subscription.
@mxblock8 ай бұрын
Not a regular viewer (yet), but - This right here is literally a master piece for me. Educational, something interesting, memes (not to in you'r face / loud audio - still prominent to be entertaining), relatability, the ever growing crazieness, straight to the point, not to short nor to long, right volume for music and mic, the outro song - all just perfect. Keep it up!
@NeostormXLMAX7 ай бұрын
I recognize that digimon cybersleuth ost
@oioio-yb9dw5 ай бұрын
You escaped pointer hell with that add 😅
@oioio-yb9dw5 ай бұрын
Subscribed🫡
@XinTongXia-d2o4 ай бұрын
btw, anyone know what's font used in the video? looks pretty nice
@vulnoryx8 ай бұрын
"say pointer again" "fuck you"
@user-qr4jf4tv2x8 ай бұрын
is that rick and morty
@vulnoryx8 ай бұрын
@@user-qr4jf4tv2x yes
@nexushare81057 ай бұрын
damn how did i read it in rick and morty voice in my head 😆
@vulnoryx7 ай бұрын
@@user-qr4jf4tv2x indeed it is
@ThisIsAnAccount7 ай бұрын
Did you just... insult me with a **pointer**? Son of a..
@tuhkiscgibin66278 ай бұрын
If a codebase has any of this stuff, you'll know it's been backdoored.
@atomgutan80648 ай бұрын
lol exactly. this is extreme obfuscation
@tuhkiscgibin66278 ай бұрын
@@atomgutan8064Some Jia Tan shit
@atomgutan80648 ай бұрын
@@tuhkiscgibin6627 lmao this is the new backdoor reference now ig
@avoavoavo8 ай бұрын
Once committed, always committed. No explanation is needed. It works.
@tosemusername8 ай бұрын
Well, the person who backdoored it understood it, so jokes on you :P
@Suspaghetti8 ай бұрын
You realize how complicated pointer syntax is when the best explanation of how to read complex statements is in a funny YT video
@Mr.Not_Sure7 ай бұрын
Well, nobody writes them in the first place. That's why `typedef` exists.
@garfield19645 ай бұрын
it's in a funny YT video because the concept--spiral rule--was documented before the youtuber was born and is prolific amongst anyone who has made efforts to properly understand C
@Suspaghetti5 ай бұрын
@@garfield1964 Yes, definitely. It's just that most [modern] beginner C books and tutorials skip this, even though it's essential. I was actually introduced to the spiral rule by this video and it blows my mind how not widespread it is, given its simplicity.
@Spitfire7208 ай бұрын
Aight I'm never listening to the word "pointer" again
@deltamico8 ай бұрын
"pointer" You can read it instead. You're welcome
@nodrance8 ай бұрын
I point on her... Wait
@deleteddeleted19408 ай бұрын
learn about references!
@jeremymcadams77438 ай бұрын
Let me give you a few pointers about how to get over this issue
@mux1c7 ай бұрын
I'd like your comment, but it's at 911 and I can't ruin that
@eleinaedelweiss62158 ай бұрын
Who the hell would write the last one, without questioning their lives decisions.
@etherstrip7 ай бұрын
…people making youtube videos?
@Elias010567 ай бұрын
who the fuck would use *
@danilbutygin2387 ай бұрын
@@Elias01056 i am
@Elias010567 ай бұрын
@@danilbutygin238 why?
@danilbutygin2387 ай бұрын
@@Elias01056 long-term habit
@Hallilo8 ай бұрын
I honestly never had any issues understanding basic and more advanced pointer stuff, but THIS is some actual good stuff LMAO great video
@ThisShitWontWor8 ай бұрын
12 years old me learning C++ : "Ok so, its a box containing... a box, ok?, containing a box... fuck it"
@kaustubhsonar46137 ай бұрын
Bring me that stuff which you are smoking
@user-sb5vt8iy5q2 ай бұрын
I got almost all of them in under 20 seconds, except the last one, I didn't even try to get it because at that point what are you doing
@ry65548 ай бұрын
Honestly, An array of functions sounds pretty dope. Nevermind, an array of pointers to functions sounds pretty dope.
@comradepeter878 ай бұрын
ain't that the same? or are we saying "an array of pointers to function pointers" (effectively double-indirection) in the second one?
@theepicguy65758 ай бұрын
Well, you can't have arrays of functions in the first place Only pointers to functions
@PhthaloJohnson8 ай бұрын
In C, you actually cannot store functions inside arrays anyway, the compiler will silently convert that code into a pointer to that function instead.
@jrstf8 ай бұрын
Is not every C++ member function referenced through an array of pointers to functions?
@pitri_hub8 ай бұрын
@@jrstf Per default, member functions are just statically compiled into the calling code. But it is true for virtual functions. They are referenced in the vtable, which exists for each type with virtual functions. Each of these objects then has an internal pointer to its respective vtable, which contains the pointers to the implementation defined procedures. This is how dynamic polymorphism is implemented.
@dipereira01238 ай бұрын
to whoever reached a point in life where you ended up here or doing this, i really hope you find inner peace one day...
@kyumullo7 ай бұрын
A Pointer in life
@CapeSkill7 ай бұрын
@@kyumullo ba dum tss.
@JoaoJGabriel8 ай бұрын
It all can get stupidly complicated as we've seen, but the syntax follows simple rules: 1. start reading from the identifier out 2. favor [ ] and ( ) over * int (*(*x)[ ]) ( ): - Following rule #1, we start at x x - The identifier x is alone in parentheses with an asterisk, so it is [§1] a pointer *x - Outside of the parentheses, we follow rule #2, so it is [§2] an array (*x)[ ] - We're left with an asterisk inside the parentheses, so [§3] pointers *(*x)[ ] - Outside of the parentheses, rule #2, [§4] functions (*(*x)[ ])( ) - The functions return [§5] int putting §1, §2, §3, §4 and §5 together: x is (§1) a pointer to (§2) an array of (§3) pointers to (§4) functions that return (§5) an integer Once you got the hang of it, you can rewrite the example like: * [ ] * ( ) -> int And stitch things together in a way that makes sense. "->" means "returns" and it's optional/redundant (anything immediately after parentheses in this notation is a return anyway) Take the example of 5:34: [ ] * * (* char, * (* char) -> * int) -> [ ] * (* * char, * ( ) -> * char) -> * int Array of pointers to a pointer to a function that takes (a pointer to a character and a pointer to a function that takes (a pointer to a character) and returns a pointer to an integer) and returns an array of pointers to a function that takes (a pointer to a pointer to a character and a pointer to a function that returns a pointer to a character) and returns a pointer to an integer It looks insane, but it's not that difficult to wrap your head around if you're writing it following those two simple rules
@nexushare81057 ай бұрын
bro i was with you util i expanded ur explanation... after expanding it i sad( i aint reading all this sheet lol) , but hey, great that u can explain this
@JoaoJGabriel7 ай бұрын
@@nexushare8105 maybe there's a way to be more concise but then that's me who can't bother xD
@lightlezs70487 ай бұрын
My man, using asterisks here for anything but pointers is fucking evil, was there really no other way?
@JoaoJGabriel7 ай бұрын
@@lightlezs7048 hahahaha good point, I'm gonna change that
@JoaoJGabriel7 ай бұрын
@@lightlezs7048 better?
@BaneDestabapillado6 ай бұрын
Small tip for 1:20, you can order malloc like you did just by manually asking for each memory "sizeof(char) * 6..." but if you make a tipedef of your struct, you can just ask for a "sizeof(FUCKER)" and it will do the same, but far easier to read, and simpler
@moneteezee8 ай бұрын
im actually glad i found this video, you explained this well and now i know how to interpret those long lines
@halflight88118 ай бұрын
this is what I understood from 3:10 - arr[0] -> func1 => int1 - arr [1] -> func2 => int2 x ->arr - arr[2] -> func3 => int3 - arr[3] -> func4 => int4 - arr[4] -> func5 => int5
@teerathagarwal9352Ай бұрын
Seems correct. However, getting to return the integer by calling those functions seems a different story. I guess it be something like this: (*x)[2]();
@finmat955 ай бұрын
00:07 "So what is this?" "Obviously A NIGHTMARE."
@no-ld3hz6 ай бұрын
3:24 funnily enough this is how dynamic dispatch works in c++, each class (implicitly) creates a pointer to a global array of function pointers. This is also known as a virtual table or vtable/vftable as it contains the list of "virtual" functions for that class.
@NicolasChanCSY8 ай бұрын
A programmer goes to therapy. Therapist: Please tell me what you are scared of. Programmer: I am scared of pointers. Therapist: Okay, let me give you an array of pointers to handle them. Programmer: 😱😱😱
@SwiftyTheSword94Ай бұрын
The worst part is the therapist passes by reference.
@jatinsharma32808 ай бұрын
Man, It felt awesome and confusing at the same time, but thanks to you I come to know the different use of pointers.
@poleve54094 ай бұрын
function pointers are cool. But everything after it? only for the insane.
@tvardero8 ай бұрын
6:00 Bro is holding the entire class inside his variable definition The God Variable.
@dawiddulian24037 ай бұрын
A class that someone parameterised the hell out of, it's like "okay, let x point to containers upon containers of functions (class) that parse strings... but in a waythat is so parametrised and specific that you need to parse other string in your chosen function and based on result of parsing you get the answer of your call of x... ...the anser being a f***ing array ofpointers to functions! So basically the class that is x is not all - you now use this class to hold the answers of called(/callable) functions and use THEM as your ACTUAL functions that themselves take an array of strings and parse those strings collection based on (presumably, because it doesn't make much sense otherwise) the original character that is returned from chosen constexpr function (due to no parameters)... ...and all that returns an adress of where the value of it is stored, YOU KNOW, LIKE IT'S TOTALLY NORMAL.
@GL0RYS8 ай бұрын
bro lost me before the ad break 💀
@kingpen58668 ай бұрын
Bro really said bro 💀
@GL0RYS8 ай бұрын
@@kingpen5866 bro really said bro cause i said bro 💀
@fodetraore66668 ай бұрын
Bro realy saic bro to some bro who realy said bro to bro 's comment 💀@@GL0RYS
@VictorMartinez-vi7jx8 ай бұрын
bro is a pointer to a bro that points to a bro
@GL0RYS8 ай бұрын
@@VictorMartinez-vi7jx bros making sense 🙏
@norude8 ай бұрын
I think, most of the confusion comes from the syntax. For example, int (*(*x)[])() in Rust, would be Box> "Box" is Rust's pointer i32 is Rust's int
@spacemario8 ай бұрын
If I understood it correctly, that's a pointer to a vector of pointers to functions that return an int, right?
@norude8 ай бұрын
yes, it's just a lot of angle brackets, in a way that actually makes sense C works the other way around
@shanesnover40488 ай бұрын
Your outermost Box is unnecessary indirection as the Vec already places the memory on the heap.
@norude8 ай бұрын
@@shanesnover4048 that's true, but not relevant
@jrstf8 ай бұрын
Imagine programming in a language where you can actually specify the type of a value (i32) rather than some kind of a suggestion which varies in meaning in every implementation and even with platform specific switches on the command line.
@iCrimzon8 ай бұрын
"Go insane?" GO MENTIONED RAAAAAAAAAAAAAAAAAAAAAAAAA
@batatanna8 ай бұрын
WE GOIN OUT OF THE HOOD WITH THIS ONE 🗣️🗣️🗣️🗣️🗣️
@gruberu5 ай бұрын
sanest go programmer
@kraqur6 ай бұрын
5:31 and at this point I soundly fell asleep and had a very restful night in dreamland, not worrying about pointers to pointers or functions calling pointers or anything returning an int again...
@bubbleopter8 ай бұрын
Such an awesome teaching style!
@ANTI_UTTP_FOR_REAL4 ай бұрын
"Did you explain them?" "Yes" "What did it cost you?" "Everything"
@kostabelov63762 ай бұрын
6:18 I too like words LMAO
@roryb.bellows86176 ай бұрын
You know what's funny, I've been programming in C for 15 years and I was confused at he first one. But after you broke it down I understood it perfectly. I could even see situations where it would be quite useful to know. Great video, hope you're enjoying learning computer science. I still am
@josephmazor7258 ай бұрын
Actually the best explanation of these bullshit functions I’ve seen, thanks!
@James-ne9td8 ай бұрын
"For example, if I use this struct 'Fucker'" caught me completely off guard XD My main takeaway from this video though is that as a C# dev for Unity, I shouldn't touch C++ with a 5 foot pole or else risk entering pointer hell.
@vibaj168 ай бұрын
no one actually uses crazy pointer stuff like this. Actually useful pointer stuff is simple and often feels quite elegant.
@happygofishing8 ай бұрын
random swearing is peak reddit humour
@James-ne9td8 ай бұрын
@@vibaj16 tbf, I was being slightly hyperbolic. I do want to get round to learning C++ eventually but the combination of pointers, header files, garbage collection, and syntax is just a lot.
@Jason-b9t8 ай бұрын
@@vibaj16 It's really simple.... The library will only use (void* buf, size_t n) for ALL types. C believes that smart users know that the void* returned by the function is a specific type among the 100+ custom types, it will be a linklist + table with a specific internal mix of pointers to stack and pointers to allocated heap, and then you have to be careful about pointer casts, linklist iteration, use void* to calculate offsets, of course you will remember which one is CHAR8* string and which is CHAR16* string, finally free the heap allocation and perfectly avoid the pointer to the stack. The biggest advantage of C is that it is suitable for keeping your job.
@Jason-b9t8 ай бұрын
It's really simple.... The library will only use (void* buf, size_t n) for ALL custom types. It is linklist + table with a specific internal mix of pointers to stack and pointers to allocated heap, CHAR8* string and which is CHAR16* string.
@mysterry20007 ай бұрын
This video is amazing, now I can play that game with my friends: Team A: Take a shot every time he doesn't say "pointer" Team B: Take 3 shots every two times he says "pointer" Let's see who wins 💪
@amogussusmogus13 ай бұрын
Thanks for the colors that help in pointing what you're pointing at so that your point can go straight to the point of my eyes and gets deleted any way which I point out that there's no point in this. There are some qwerty typists out there who like to type the word "point".
@adnanrasheed43665 ай бұрын
I've forgotten my name after learning about pointers from him. This person went insane before completing pointer😄
@Sky-The-Second5 ай бұрын
Bro I sat here with a notebook trying to understand, which I did pretty easily. Excellent explanation for such a troll video!
@zFede_Rico8 ай бұрын
0:14 as soon as i read "france" i subscribed and liked the video
@oyoplayer8 ай бұрын
I love France
@lcaainvalid10347 ай бұрын
🇩🇪
@Paris_Cherry2 ай бұрын
Allez vous faire mettre.
@norude8 ай бұрын
I finally understood. The type signatures are provided not the obvious way around, but outside in. For example: int x() is a function named "x", returning an integer. But instead of "x", I can put something different and it will mean, put the whole function inside whatever is in that position. For example "int (*x)()" means to put the function inside the *x. So It's a pointer to a function. But it's not just functions, it's **everything** if we analyze the "int (*x)()" again we get: int , which means to put the integer inside something that something: () It's a function! which means, that we put our int iside the return paramater of that function what's something: * it's a pointer! which means, we put our whole function with integer return type into a pointer. that something: x It's a name "x" which means, we put our whole pointer to a function with a return type of integer into the name "x" Let's do another example: char *(*(*(**x[])())[])(); it's a char, which is in a pointer, which is in the return type of a function, which is in a pointer which is in an array which is in a pointer, which is in the return type of a function, which is in a pointer, which is in a pointer, which is in an array, which is in "x"
@sasho_b.8 ай бұрын
Nah I mean if you understand it then great, but nah Its name first, then sufix left-to-right, then prefix right-to-left, with () being the sufix function arguments operator. I best understand it same as the compiler, start from the inside and go out, sufix prefix exit-braket. Its doesnt matter here, yes, but this also reminds you how other operators work like array access and dereference operators. *x[8] means "take the 8th member of x and dereference", where as (*x)[8] means "dereference x and take the 8th member of that"
@ahmadalzibary43377 ай бұрын
my honest reaction to this is: what the f$@% is that ?!?
@prism2238 ай бұрын
In older computers, especially Lisp machines, pointers always came with a size. A pointer was a 2-D object to the hardware. It had a location, and a size. The weirdness of C/C++ pointer types is an attempt to recapture some of the elegance of earlier hardware in a later era where the hardware forgot about data safety.
@mage36905 ай бұрын
Location + size pointers are referred to as "wide pointers" in modern C++, AFAIK. You're right though -- C's syntax is a desperate attempt to make the size portion of a wide pointer into a compile-time issue rather than a run-time issue, mostly for performance reasons.
@aberryth_dev8 ай бұрын
I don't understand, at 6:09, if the array of pointers to functions receive a pointer to a pointer of characters, where do I find the point of living?
@MartinDerTolle8 ай бұрын
Maybe we lost the point of life somewhere along the way
@gabrielkolletalves4932 күн бұрын
Absolute certified BANGER at the end.
@ZehllFierranDayJael8 ай бұрын
Entertaining and very educational for me. Seeing different uses of pointers that you tried to demonstrate and describe them made my me intrigue, but at the same time dizzy. 😂
@dimi1447 ай бұрын
I think that this is 100% the reason for the existence of the typedef keyword
@Eliask-rv1wq2 ай бұрын
thank you I was confused by pointers and wasn't sure I should get back to trying to learn C but your video made me stop questioning myself and convinced me to abandon the idea of getting back to it for good. like
@xtremecoding40058 ай бұрын
This video made me cry
@Sea_Otter6 ай бұрын
I gave this video a thumbs up even before watching it. Anyone who tries to explain pointers to us 'dumbdumbs' is definitely a modern-day Prometheus.
@mothratheresa85827 ай бұрын
1. Love the suffering 2. Love the use of digimon story cyber sleuth ost, its suitable considering the BS that is the digivolution tree. 3. Great video
@love-thugger8 ай бұрын
Your memory view and c debugger in vscode look very nice. Could you do a video on how you set this up or just gimme some info lol im jealous.
@siddharthbhatia88158 ай бұрын
same
@nexushare81057 ай бұрын
me too
@draftofspasiba26 ай бұрын
Fr
@mazyyyy8 ай бұрын
I FINALLY GOT POINTERS after more than 15 tutorials and another 15 "explanation" videos, you somehow made my brain click. Thank you so much!
@therealdia8 ай бұрын
Ok how was this convoluted mess the thing that actually taught me how pointers work lol
@hodayfa000h8 ай бұрын
My favorite programming channel
@PackPosse6 ай бұрын
As hairy and convoluted as the examples got, you did a fantastic job of breaking them down. I’ve spent most of my time coding in python and Java, so have thankfully never had to use pointers in practice. I do, however, remember the outright confusion experienced during a college C++ class…
@mvargasmoran8 ай бұрын
what I get from this is that the song at the end rocks.
@Franciscocao6 ай бұрын
An array of function pointers sounds like something that could be extremely useful, but I can't imagine any situation where it would be useful
@chri-k6 ай бұрын
You can find them all over the place in object oriented code
@DavidSchiess8 ай бұрын
Why: If you're a postman in a small town and they ask you to "deliver this package to that weird yellow house", you'll figure out where to deliver what in a reasonable amount of time. But if you need to deliver a massive amount of packages, that are all stored in different places inside a big warehouse, to a couple of skyscrapers with multiple delivery points per floor, you'll have a much easier time if the exact address is provided.
@quocanhhbui82717 ай бұрын
Im watching this at 3:00am and yeah my brain is pretty much fried at this point
@tommasopattaro13296 ай бұрын
I lasted 2 minutes, then my brain exploded, and i am a programmer...
@atharv-naik4 ай бұрын
Wow! Now I can send this to my prof
@dbf80143 ай бұрын
LOOLL MARIO KART BGM it takes me back
@arthyrgoldengate45997 ай бұрын
Came to learn about pointers, returned with all my braincells drained. 10/10
@ANTI_UTTP_FOR_REAL4 ай бұрын
It took only 6 minutes and 41 seconds for you to go insane
@Diamondyoutubization8 ай бұрын
I think this video actually made these easier to parse.
@Komil4848 ай бұрын
The way i look at it is, the way you declare a pointer, is the way you access it. So if you got int *(*p[]), you'd access the innermost value (being the int) in the same way: *(*p[i]). And then you work your way backwards To make the point(er) clearer ill go through this. So you access the int by doing *(*p[]), so *p[] is an array of pointers to int, and *p points to an array of pointers to int, and p is a pointer to an array of pointers to int
@nexushare81057 ай бұрын
anddd.... u just had to make this pun
@JacksHQ8 ай бұрын
You had me at "Fucker". Subscribed.
@ryangrogan68395 ай бұрын
Im not even going to lie. This video did more for me than any amount of researching and googling. Believe it or not, i actually learned how to read pointer syntax from this cluster fuck of a video.
@maxjiang13242 ай бұрын
"am not going to double check that" - thanks God you are are still human😂
@ICHIGOZINАй бұрын
1:12 this is a criminal way to use malloc
@madalenaferreira30188 ай бұрын
somehow this made me understand pointers better than 4 years in uni
@jmbeatsbbx2 ай бұрын
To be honest, even though university tests your knowledge of things sometimes the examples are so obscure that instead of writing what is this I would just write "Change the implementation because it will absolutely never go through any code review"
@Pearforce5 ай бұрын
Ive always been critical of the “auto” type being added to c++, but now im starting to see a valid use case…
@Morgan_iv7 ай бұрын
At some POINT I've stopped perceive word "pointer" as some meaningful entity and instead started to interpret it as some weird IKEA furniture name
@SasukeUchiha-uy9lf2 ай бұрын
The only time my brain relaxed was watching that ad in this video
@48_subhambanerjee225 ай бұрын
0:08 x is a pointer to an array of pointers to functions that returns an integer. Not that complicated to us Programmars : )
@ungenieur8 ай бұрын
what's the extension that u are using to see the memory ?
@farukyldrm84988 ай бұрын
you shoud have mentioned operator precedence. and also thr syntax related to those concepts perfectly fit into english grammar. as a Türk, ı can say it in english (up to some point) but cannot think of its meaning because we build up the noun phrases other way around
@СашаЕгоров-п1ъ5 ай бұрын
That is NOT just a pointers... THAT'S A TORTURE TOOL!
@Muskar27 ай бұрын
A pointer consists of: 7, 9, 9, 9, 9, 9, 12. I.e. 7 bits unused, 12 bits for the physical offset in memory and the 9's are offsets into a page "tree" if you will . Most CPU's today only use four-level pages, so the top 16 bits (instead of 7) are unused - but Intel is starting to use five-level pages too. It's also why pages are 2^12 (4096) in size, and why large pages can be 2MB (2^(12+9)) and 1GB (2^(12+9+9)) respectively. You can cast a pointer to a number, and shift the bits into different values to clearly see how there's a clear pattern when you allocate memory etc.
@ChungusTheLarge2 ай бұрын
Me: HOW ARE YOU FREEING ALL OF THIS The Heap: Freeing? YOU THINK THIS IS GETTING FREED?
@Quarkee2 ай бұрын
...how the fuc did this actually help me understand pointers. For some reason I've been reading c++ order of operations(programming has a word for it i dunno it's 3am) from left to right thinking whatever is on the leftmost side (so often a basic type declaration like void, int e.t.c) was the first important thing and ive just been subconsciously remembering to prioritise asteriskt and parenthesis for, who knows why reasons, but if you just loop out from the variable/object/parameter/satan/x, remembering to prioritise the right side (functions or arrays(/square-brackets) before the left side, normal parenthesis firstforemost, then it goes in a back and forth in a repeatable pattern. I will guarantee you that I'll have forgotten this by tomorrow when I wake up but cool video man. 10/10 would "asmr to study to" again
@cy4n_knight_q88 ай бұрын
I lost you @3:30 I give up
@chachakumbachannel53146 ай бұрын
someone should count how many times he said "pointer"
@codingmickey5 ай бұрын
THANKS To YOU now my BRAIN is working *totally* properly
@Drugio246 ай бұрын
this actually makes sense
@CourierSix014 ай бұрын
The person who loves pointers, this video is to make him hate pointers Thank you. Now I'll send this to my friend 😂
@pierrotarat8 ай бұрын
"Great, you've explained these quite well. Now use them."
@thfsilvab8 ай бұрын
Even the parser gave up, and he's still going
@ChrisgammaDE7 ай бұрын
1:10 I'm pretty sure you can also use sizeof() directly instead of calculating manually
@aperson1234-t8x6 ай бұрын
Thanks for the pointers!
@JosaxJaz2 ай бұрын
this man has ascended above gods.
@uuu123432 ай бұрын
Pointers are like your fingers, fingers that are pointing at something (aliased "x"), that object "x" is stored in an area known as the memory address A pointer holds the memory address containing variable "x" To obtain the value located in the memory address of variable x pointed by the pointer, use `&ptr` Now, a pointer to a pointer holds the memory address containing the original pointer object pointing to variable "x" above Repeat to keep getting the memory address of everything the previous level is pointing
@montegus8 ай бұрын
Hey, i'm learning by myself, how did you make your vscode like that? 0:56
@GeorgeMixalis2 ай бұрын
He is using the debugging features. Install the c extensions on vscode and look about how to use gdb debugging. Its a bit of a rabbit hole depending on the project.
@M-MahdiHeydari7 ай бұрын
Stack overflowed! 😬
@SetOfAllSets7 ай бұрын
you should explain that arrays in C are actually just pointers with a fancy hat on.
@satoshikei8 ай бұрын
Pro Tip: Just add another */& or put around parentheses until you get no compilation errors.
@NullVoid018 ай бұрын
Bro what's your vs code theme it looks nice
@felix34ever17 ай бұрын
Ngl i actually understand now thanks 🥰😂
@Elias010567 ай бұрын
i'm going to throw up
@theimmux30348 ай бұрын
"getting into programming is easy" the programming in question:
@MarcoCeccarelli-g2b3 ай бұрын
Which extension do you use to see the memory?
@jean-kiara8 ай бұрын
Those complex function declarations make me think of complex relational database.
@rssszz72087 ай бұрын
My head hurts 😭
@sdwone8 ай бұрын
Understanding pointers, is like the Great Barrier between amateur devs and the pros! Because THIS is a concept in which knowing how computers actually works, helps tremendously!
@therelatableladka8 ай бұрын
Everytime I paused and I am shocked how i get it before you start telling how to understand it. Maybe because i have been doing reverse engineering and malware stuff for long time now. Those codes actually have hell of typecasting with different data types and sizes. But greater video !!! ❤
@Rose-ec6he8 ай бұрын
I wish this was a joke of some kind, then I wouldn't want to cry