Not gonna lie, you got me on a few of these. Thank you for this as I am learning C its nice to have these tests and gatchas as a helpful tool in the process.
@KeaSigmaDelta3 ай бұрын
Hehe. You're welcome!
@duality4y3 ай бұрын
i'd say 9/10 because I didn't know if the free() would cause a segfault or not. but it's not good anyway.
@KeaSigmaDelta3 ай бұрын
AFAIK, the behaviour of the bad free() is implementation dependent. So it might segfault, it might no nothing, or even something else.
@VerMishelb3 ай бұрын
10/10, but maybe I shouldn't have watched this at 3 am.
@KeaSigmaDelta3 ай бұрын
Congrats. Yeah, sleep is important...
@Toasterparty3 ай бұрын
9/10 Missed Q6 because I have stayed clean of that filth for my whole career If you do another, I recommend questions testing struct initialization/copy knowledge as I've seen senior devs miss info there
@KeaSigmaDelta3 ай бұрын
Yes, Q6 is really bad code. Thanks for the suggestion regarding struct initialization/copying. Is there a particular mistake you see lots of people make?
@AndiPandi-yj7rc3 ай бұрын
10/10 Thx for making me feel good about my skills😂 Almost tricked me there on q8, but i saw it just in time. Cool video! :)