Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which tool detects use-after-free and out-of-bounds memory access at runtime?

  1. A AddressSanitizer
  2. B ThreadSanitizer
  3. C clang-format
  4. D cppcheck
Answer

AddressSanitizer

ThreadSanitizer finds data races and UndefinedBehaviorSanitizer finds signed overflow and bad casts. Running these in CI is high-value practice.

All C++ MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as