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 it undefined behavior to have two pointers with different values referring to the same object?
Aug 23, 2022
c++
operating-system
undefined-behavior
memory-address
How can (x+1) > x evaluate to both 0 and 1?
Sep 05, 2022
c++
c
undefined-behavior
Why the output of `printf("%llu\n", 1ull << n);` and `printf("%llu\n", 1ull << 64);` is different in C++? (n=64) [duplicate]
Sep 19, 2022
c++
c
undefined-behavior
bit-shift
Is accessing an element of a multidimensional array out of bounds undefined behavior?
Apr 18, 2022
c
arrays
multidimensional-array
undefined-behavior
Does freeing an int* which was assigned to a char* (allocated by `malloc`) invoke Undefined Behavior?
Aug 30, 2022
c
pointers
memory
free
undefined-behavior
Pointer arithmetic using cast to "wrong" type
May 21, 2022
c++
language-lawyer
undefined-behavior
pointer-arithmetic
Does this code in C fall into the Undefined Behavior category?
Sep 26, 2019
c
arrays
language-lawyer
increment
undefined-behavior
Turbo C++: Why does printf print expected values, when no variables are passed to it?
Nov 03, 2022
c
printf
undefined-behavior
turbo-c
Why is it that we can write outside of bounds in C?
Nov 17, 2022
c++
c
malloc
undefined-behavior
What is the significance of special language in standard for lvalue-to-rvalue conversions for unsigned character types of indeterminate value
Aug 25, 2021
c++
c++14
language-lawyer
undefined-behavior
lvalue-to-rvalue
Is it allowed to print the address of a dangling reference?
Sep 14, 2022
c++
reference
language-lawyer
undefined-behavior
Are static locals of function template specializations with T=<unnamed namespaced class> required to be unique?
Feb 27, 2022
c++
templates
static
undefined-behavior
icc
`u8string_view` into a `char` array without violating strict-aliasing?
May 15, 2022
c++
undefined-behavior
c++20
strict-aliasing
What can I assume about the behaviour of atoi() on error?
Apr 24, 2022
c
language-lawyer
undefined-behavior
atoi
How can calling a function pointer saved from a previous execution fail?
Feb 07, 2020
c++
undefined-behavior
How can I read a signed integer from a buffer of uint8_t without invoking un- or implementation-defined behaviour?
Mar 12, 2022
c++
undefined-behavior
implementation-defined-behavior
C++ function attribute to indicate lifetime of return value is same as argument
May 05, 2022
c++
gcc
g++
undefined-behavior
Does std::ptr::write transfer the "uninitialized-ness" of the bytes it writes?
Jan 23, 2022
rust
initialization
undefined-behavior
unsafe
Is calling a "noexcept function" through a "function" lvalue undefined?
May 11, 2022
c++
language-lawyer
function-pointers
undefined-behavior
noexcept
« Newer Entries
Older Entries »