Search code examples
Undefined behaviour in repeated use of prefix ++ operator...


c++c++11undefined-behaviorc++17

Read More
C++ string.c_str()...


c++undefined-behavior

Read More
Is it undefined behavior to read and compare padding bytes of a POD type?...


c++language-lawyerpaddingundefined-behaviorstandard-layout

Read More
Confusion about undefined behaviour for restrict qualifier...


cundefined-behaviorrestrict

Read More
Unable to understand the pointer to pointer output : 15 15...


cpointersundefined-behavior

Read More
Is "return i++, i, i++;" undefined behaviour in C?...


clanguage-lawyerundefined-behaviorc11

Read More
calloc vs new for complicated structs in various compilers...


c++visual-studiomemory-managementvisual-studio-2017undefined-behavior

Read More
Can all bits 0 be a trap representation for integers?...


clanguage-lawyerundefined-behaviorcalloc

Read More
Division by zero: Undefined Behavior or Implementation Defined in C and/or C++?...


c++cundefined-behaviordivide-by-zero

Read More
Undefined Behaviour: value of array element changes implicitly/illogically...


c++arraysmemoryundefined-behavior

Read More
Is the sequencing of this decrement invoking undefined behaviour?...


c++stlcontainersundefined-behaviorerase

Read More
Why is it undefined behavior to delete[] an array of derived objects via a base pointer?...


c++undefined-behaviordynamic-arraysdelete-operator

Read More
How to access an object representation according to the c++ standard?...


c++pointersobjectlanguage-lawyerundefined-behavior

Read More
Undefined Behavior to take Address of End of Array/Vector?...


c++vectorundefined-behavior

Read More
Is it expected that a too large bitshift is undefined behavior in Rust?...


rustundefined-behaviorbit-shift

Read More
Acessing beyond the allocated space and not getting segfault...


cpointersundefined-behavior

Read More
setting pointer to variable declared in local scope in C...


clanguage-lawyerundefined-behaviorlifetime

Read More
Clang fails to detect undefined behavior...


c++undefined-behaviorclang++

Read More
Undefined behavior when constexpr-evaluating negative bitshift?...


c++undefined-behaviorbit-shiftconstexpr

Read More
Is the evaluation of static member function during construction before base initialization undefined...


c++initializationlanguage-lawyerundefined-behavior

Read More
Is this type punning well-defined?...


c++undefined-behaviortype-punning

Read More
Returning by rvalue reference vs returning by value...


c++undefined-behaviorc++17rvalue

Read More
Is segmentation fault actual undefined behavior when we refer to a non-static data-member...


c++pointersundefined-behavior

Read More
Could this method of address assignment and use invoke undefined behavior?...


cundefined-behavior

Read More
Behaviour of printf using length subspecifier with a string...


cprintfundefined-behaviorlibcformat-specifiers

Read More
Is accessing parts of a string after an embedded null terminator UB?...


c++undefined-behavior

Read More
In C language, is it semantically possible to create an lvalue with incomplete type?...


clanguage-lawyerundefined-behaviorlvalueincomplete-type

Read More
Is the "laundry" propagated by pointer arithmetic?...


c++undefined-behaviorc++17

Read More
What is a dangling reference?...


c++referenceundefined-behavior

Read More
Arithmetic right shift gives bogus result?...


c++gccundefined-behaviorbit-shift

Read More
BackNext