Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
Quiz on undefined behavior by Dmitry...

Quiz on undefined behavior by Dmitry Sviridkin

Apr 21 2025
Questions: 11
Time: 30 min
greeting

Welcome to Dmitry Sviridkin's quiz inspired by his e-book, "C++ programmer's guide to undefined behavior". If you've read it, you may want to challenge your memory. And if you haven't, you'll find this even more entertaining :)

The task is to guess how 10 cringe code examples may behave. Don't take it too seriously, though. When it comes to undefined behavior, no one can predict how the program will behave—this is why it's undefined. Just have some fun :)

Question 1 of 10

Unicorn