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
Is using the address of an uninitialized variable UB? [duplicate]
Oct 23, 2025
c
printf
undefined-behavior
variadic-functions
Is converting from unsigned char to signed char and vice versa in C89 well defined?
Oct 22, 2025
c
undefined-behavior
c89
Anomalous behavior (or possible bug) in JColorChooser
Oct 21, 2025
java
swing
undefined-behavior
cmyk
jcolorchooser
Does offsetof require pointer derefence?
Oct 20, 2025
c++
c
macros
undefined-behavior
offsetof
Is int a = ++i + ++i undefined behaviour?
Oct 20, 2025
c++
c++17
language-lawyer
undefined-behavior
sequencing
Why is that for a pointer *p, p[0] is the address stored at p and p[1] is the address of p itself?
Oct 20, 2025
c
pointers
printf
undefined-behavior
dereference
reinterpret_cast to span of wrappers
Oct 16, 2025
c++
undefined-behavior
clang++
reinterpret-cast
Can an integer type with no padding bits have a non-value representation?
Oct 18, 2025
c
gcc
language-lawyer
undefined-behavior
How do I create and use a stack-allocated struct ending with a C99 flexible array member in C++ without undefined behaviour?
Oct 18, 2025
c++
undefined-behavior
c++23
flexible-array-member
stack-allocation
C output changed by adding a printf
Oct 18, 2025
c
debugging
printf
undefined-behavior
Why don't define some undefined behaviours?
Oct 18, 2025
c++
undefined-behavior
Is not catching an exception undefined behavior?
Oct 17, 2025
c++
exception
language-lawyer
destructor
undefined-behavior
Undefined behavior when constexpr-evaluating negative bitshift?
Oct 17, 2025
c++
undefined-behavior
bit-shift
constexpr
Is using std::span into an std::vector after push_back is called undefined behavior
Sep 23, 2025
c++
vector
undefined-behavior
ownership-semantics
std-span
How to access an object representation according to the c++ standard?
Sep 21, 2025
c++
pointers
object
language-lawyer
undefined-behavior
How to check if a string passed as argument is a modifiable string
Sep 20, 2025
c
string
assert
undefined-behavior
string-literals
Is returning a pointer to a local variable always undefined behavior [duplicate]
Sep 18, 2025
c++
function
pointers
local
undefined-behavior
Should a boolean predicate for std::condition_variable be volatile in C++?
Sep 16, 2025
c++
multithreading
c++11
undefined-behavior
std
Is it technically UB to static_cast<A*>(memmove(dst, (void*)src, sizeof(src))) since C++20?
Sep 15, 2025
c++
language-lawyer
c++20
undefined-behavior
lifetime
Difference between array and pointer to string literal
Sep 17, 2025
c
memory-management
undefined-behavior
« Newer Entries
Older Entries »