Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in undefined-behavior
Swapping `std::aligned_storage` instances containing non-trivially-copyable types - undefined behavior?
Jun 19, 2026
c++
language-lawyer
swap
undefined-behavior
c++14
Skipping switch cases via false loop is a valid operation?
Jun 20, 2026
c
c99
undefined-behavior
When is reinterpret_cast UB?
Jun 16, 2026
c++
language-lawyer
c++20
undefined-behavior
reinterpret-cast
Is it undefined behavior to dereference a *mut T cast to *mut ManuallyDrop<T>?
Jun 17, 2026
rust
undefined-behavior
unsafe
raw-pointer
"The implementation may assume X" implies undefined behavior when X does not hold?
Jun 15, 2026
c++
language-lawyer
undefined-behavior
C: Undefined behavior when multiplying uint16_t?
Jun 15, 2026
c
undefined-behavior
signed-overflow
Segmentation Fault while running following C program
Jun 13, 2026
arrays
c
for-loop
undefined-behavior
string-literals
Do the printf statements in this example invoke Undefined Behavior?
Jun 09, 2026
c
undefined-behavior
Is this undefined behaviour in C++ calling a function from a dangling pointer
Jun 07, 2026
c++
pointers
undefined-behavior
dangling-pointer
Question on Usual Arithmetic Conversions - GCC Compiler
Jun 01, 2026
c
type-conversion
undefined-behavior
implicit-conversion
integer-promotion
When undefined behavior can be considered well-known and accepted?
Jun 01, 2026
c
windows
undefined-behavior
Does returning a bound local function object cause undefined behaviour?
May 31, 2026
c++
c++11
undefined-behavior
function-object
Is it undefined behavior to pass a pointer to an unconstructed streambuf object to the ostream constructor?
May 29, 2026
c++
language-lawyer
undefined-behavior
iostream
Is it UB to twice drop the same value of a type for which needs_drop() returns false?
May 30, 2026
rust
undefined-behavior
"*s = 0" being optimized out. Possible GCC 13 bug? Or some undefined behaviour?
May 27, 2026
c
gcc
undefined-behavior
Is INT_MIN subtracted from any integer considered undefined behavior?
May 27, 2026
c++
undefined-behavior
integer-overflow
initialize array, placement new, read variables, defined behavior?
May 27, 2026
c++
language-lawyer
undefined-behavior
placement-new
Any number divided by 0 in C ,does it come under segmentation fault?
May 24, 2026
c
segmentation-fault
undefined-behavior
divide-by-zero
Older Entries »