Newbetuts
.
New posts in undefined-behavior
Access array beyond the limit in C and C++ [duplicate]
c++
c
arrays
undefined-behavior
Why does char* cause undefined behaviour while char[] doesn't?
c
string
char
undefined-behavior
At what point in the loop does integer overflow become undefined behavior?
c++
c
undefined-behavior
integer-overflow
Is the output of printf ("%d %d", c++, c); also undefined?
c
undefined-behavior
Are multiple mutations of the same variable within initializer lists undefined behavior pre C++11
c++
language-lawyer
undefined-behavior
initializer-list
Why does printf("%f",0); give undefined behavior?
c++
c
printf
implicit-conversion
undefined-behavior
Can branches with undefined behavior be assumed unreachable and optimized as dead code?
c++
language-lawyer
undefined-behavior
dead-code
unreachable-code
When is casting between pointer types not undefined behavior in C?
c
casting
undefined-behavior
Why does the first element outside of a defined array default to zero?
c++
arrays
initialization
undefined-behavior
zero-initialization
Printing null pointers with %p is undefined behavior?
c
language-lawyer
c99
undefined-behavior
c11
Why is initialization of a new variable by itself valid? [duplicate]
c++
initialization
undefined-behavior
variable-declaration
Are multiple mutations within initializer lists undefined behavior?
c++
c++11
undefined-behavior
initializer-list
How to implement memmove in standard C without an intermediate copy?
c
c99
undefined-behavior
unspecified-behavior
Is using malloc for int undefined behavior until C++20
c++
malloc
undefined-behavior
c++20
Why is it undefined behavior to delete[] an array of derived objects via a base pointer?
c++
undefined-behavior
dynamic-arrays
delete-operator
Are memory leaks "undefined behavior" class problem in C++?
c++
memory-management
memory-leaks
undefined-behavior
Is this infinite recursion UB?
c++
recursion
c++11
undefined-behavior
How undefined is undefined behavior?
c
undefined-behavior
language-lawyer
Is passing a C++ object into its own constructor legal?
c++
class
constructor
language-lawyer
undefined-behavior
Is the behaviour of casting a negative double to unsigned int defined in the C standard? Different behaviour on ARM vs. x86
c
casting
floating-point
type-conversion
undefined-behavior
Prev
Next