正在加载视频...
视频加载失败
Advanced C Pro Tip: malloc() returns NULL only in one case
10 条评论

Mohit Mishra1 年前
Credits: @tsoding

Ivica Bogosavljevic1 年前
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 年前
yeah, I need to watch this guy videos

Mohit Mishra1 年前
everyone should 😉

Karsten Aalderks 🚴♀️ 🎻 🎒 ⛽️1 年前
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 年前
Only malloc, never free, buy more ram - tsoding

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

Medha Jain1 年前
Can u share the link

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

PELock1 年前
Will do!



