Loading video...
Video Failed to Load
Advanced C Pro Tip: malloc() returns NULL only in one case
70,155 views • 1 year ago •via X (Twitter)
10 Comments

Mohit Mishra1 year ago
Credits: @tsoding

Ivica Bogosavljevic1 year ago
malloc can return a valid pointer and then, when you try to write to it, it crashes. it's like a poor person with a fake gucci bag

マリク1 year ago
yeah, I need to watch this guy videos

Mohit Mishra1 year ago
everyone should 😉

Karsten Aalderks 🚴♀️ 🎻 🎒 ⛽️1 year ago
In 1987 we used a virtual memory routine from Marc Adler under MS-DOS and scrolled 16GB of Oracle V.5 Data in our own text window!

Nic Barker1 year ago
Only malloc, never free, buy more ram - tsoding

Твиттерский эксперт №11 year ago
What is he doing? Checking the value returned by malloc with ASSERT? 🤦🤦♀️🤦♂️

Medha Jain1 year ago
Can u share the link

Mohit Mishra1 year ago
it was shared on the discord channel with me. Let me check if I can find the video for this

PELock1 year ago
Will do!



