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

close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I want to join the test
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you do not see the email in your inbox, please check if it is filtered to one of the following folders:

  • Promotion
  • Updates
  • Spam