Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Do the printf statements in this example invoke Undefined Behavior?

c undefined-behavior

Is this undefined behaviour in C++ calling a function from a dangling pointer

Question on Usual Arithmetic Conversions - GCC Compiler

When undefined behavior can be considered well-known and accepted?

Does returning a bound local function object cause undefined behaviour?

Is it undefined behavior to pass a pointer to an unconstructed streambuf object to the ostream constructor?

Is it UB to twice drop the same value of a type for which needs_drop() returns false?

rust undefined-behavior

"*s = 0" being optimized out. Possible GCC 13 bug? Or some undefined behaviour?

c gcc undefined-behavior

Is INT_MIN subtracted from any integer considered undefined behavior?

initialize array, placement new, read variables, defined behavior?

Any number divided by 0 in C ,does it come under segmentation fault?

String assignment inside if else block?

c undefined-behavior

C++ negative indexing from a pointer at the middle of array defined behavior?

std::start_lifetime_as and UB in C++23 multithreaded application

Is it guaranteed that constructor is called exactly when the variable is defined?

Safe equivalent of std::bit_cast in C++11

Active member of an union after assignment

Why does this program terminate on my system but not on playground?

Multiple increment operator in Visual C++ [duplicate]