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
Code with undefined behavior in C#
Oct 13, 2022
c#
c++
undefined-behavior
Is std::memcpy between different trivially copyable types undefined behavior?
Aug 27, 2022
c++
language-lawyer
c++17
undefined-behavior
strict-aliasing
In C99, is f()+g() undefined or merely unspecified?
Mar 14, 2022
c
c99
undefined-behavior
sequence-points
unspecified-behavior
When is it valid to access a pointer to a "dead" object?
Aug 27, 2022
c
pointers
language-lawyer
undefined-behavior
The behaviour of floating point division by zero
Aug 27, 2022
c++
floating-point
language-lawyer
undefined-behavior
divide-by-zero
Does initialization entail lvalue-to-rvalue conversion? Is `int x = x;` UB?
Feb 03, 2022
c++
initialization
undefined-behavior
language-lawyer
Why would code explicitly call a static method via a null pointer?
Aug 27, 2022
c++
pointers
static-members
undefined-behavior
dereference
Does a[a[0]] = 1 produce undefined behavior?
Oct 09, 2022
c
language-lawyer
c99
undefined-behavior
Why is a = (a+b) - (b=a) a bad choice for swapping two integers?
Oct 23, 2022
c++
c
swap
undefined-behavior
sequence-points
Is ++x %= 10 well-defined in C++?
Oct 14, 2022
c++
language-lawyer
undefined-behavior
evaluation
Signed overflow in C++ and undefined behaviour (UB)
Aug 27, 2022
c++
undefined-behavior
Why is this an undefined behavior?
Aug 26, 2022
c++
c
undefined-behavior
Is accessing a global array outside its bound undefined behavior?
May 15, 2018
c
undefined-behavior
Has C++ standard changed with respect to the use of indeterminate values and undefined behavior in C++14?
Mar 18, 2019
c++
c++11
language-lawyer
undefined-behavior
c++14
In C++, does initializing a global variable with itself have undefined behaviour?
Sep 12, 2022
c++
language-lawyer
undefined-behavior
Why can't the C compiler optimize changing the value of a const pointer assuming that two pointers to the same variable would be illegal/UB?
Aug 26, 2022
c
rust
undefined-behavior
strict-aliasing
A C++ implementation that detects undefined behavior?
Aug 25, 2022
c++
undefined-behavior
Multithreading program stuck in optimized mode but runs normally in -O0
Aug 25, 2022
c++
multithreading
thread-safety
undefined-behavior
data-race
Is copying 2D arrays with "memcpy" technically undefined behaviour?
Sep 15, 2022
c++
c
multidimensional-array
language-lawyer
undefined-behavior
What are the common undefined/unspecified behavior for C that you run into? [closed]
Aug 25, 2022
c
language-lawyer
undefined-behavior
unspecified-behavior
« Newer Entries
Older Entries »