Search code examples
Unknown Output of C code...


cpointersundefined-behaviorunsigned-integer

Read More
Tracking All Instances While Preserving Const Correctness...


c++undefined-behaviorconst-correctness

Read More
Is casting a null pointer to a reference defined behavior?...


c++castingreferencenullundefined-behavior

Read More
Consistency of undefined behavior for a fixed compiler...


c++gccundefined-behaviorgcc10

Read More
Why does exactly -LLONG_MIN lead to undefined behavior?...


clanguage-lawyerundefined-behaviorinteger-overflownegation

Read More
Does QObject distinguish between stack and heap allocated children when deleting?...


c++qtmemory-managementundefined-behaviorqobject

Read More
==284==ERROR: AddressSanitizer: stack-buffer-underflow...


cundefined-behaviorcircular-bufferboyer-moorestackunderflow

Read More
Undefined behaviour in a simple version of the Boyer Moore algorithm...


cundefined-behaviorboyer-moore

Read More
Is there a C++ implementation that detects all undefined behavior?...


c++undefined-behaviorsanitizer

Read More
Same C code, different output on Mac & Linux...


clinuxmacosgccundefined-behavior

Read More
why would the optimization ignore the if statement when function has warning [-Wreturn-type]?...


c++assemblyoptimizationcompiler-optimizationundefined-behavior

Read More
Why does flowing off the end of a non-void function without returning a value not produce a compiler...


c++cgccg++undefined-behavior

Read More
How to move std::tuple elements out of a class object?...


c++c++14undefined-behaviormove-semanticsstdtuple

Read More
When can static_cast be used safely for downcasting in C++?...


c++undefined-behaviordynamic-castdowncaststatic-cast

Read More
Is the scope of a variable initialized in the arguments of a loop undefined behaviour or implementat...


cloopsscopeundefined-behavior

Read More
How can I explain undefined behavior to know-it-all newbies?...


c++undefined-behavior

Read More
Is this cast of void pointer valid code or vile code?...


ccastingundefined-behavior

Read More
Implementation of std::start_lifetime_as()...


c++undefined-behaviorlifetimestrict-aliasingc++23

Read More
C++: is it undefined behaviour to create with a bitwise copy of an object using a C-style cast to ch...


c++undefined-behavior

Read More
Why can't linux write more than 2147479552 bytes?...


clinuxundefined-behavior

Read More
What happens if memory for a format string is shared with one of the arguments of printf?...


cprintfundefined-behaviorformat-stringrestrict-qualifier

Read More
When is it valid to access a pointer to a "dead" object?...


cpointerslanguage-lawyerundefined-behavior

Read More
Why do shared_ptr and unique_ptr have different behavior when dtors are not virtual?...


c++memory-leaksundefined-behaviorvirtual-inheritance

Read More
const_cast vs mutable and undefined behavior...


c++undefined-behaviormutableconst-cast

Read More
Writing out of boundary matrix...


cmemoryundefined-behavior

Read More
Linked list without malloc...


cmallocundefined-behaviorsingly-linked-liststorage-duration

Read More
Placement new + reinterpret_cast in C++14: well-formed?...


c++language-lawyerundefined-behaviorreinterpret-caststrict-aliasing

Read More
Not returning from a function is not an error?...


c++undefined-behavior

Read More
Is moving the target of a raw Pointer safe in rust...


rustundefined-behaviorraw-pointer

Read More
Passing a temporary by const pointer instead of const reference; is this workaround well-formed?...


c++language-lawyerundefined-behaviorlifetime

Read More
BackNext