Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Example of error caused by UB of incrementing a NULL pointer

c++ undefined-behavior

What can go wrong if cout.rdbuf() is used to switch buffer and never set it back?

If a part of the program exhibits undefined behavior, would it affect the remainder of the program?

c++ c undefined-behavior

How is a variable at the same address producing 2 different values? [duplicate]

Why Left-Shifting an unsigned number 32 times doesn't produce a ZERO?

c++ undefined-behavior

Does the following chained assignment cause Undefined behavior?

c undefined-behavior

Why is the phrase: "undefined behavior means the compiler can do anything it wants" true?

Does while(i--) s+= a[i]; contain undefined behavior in C and C++?

c++ c undefined-behavior

Is multiple variable comparision inline undefined behavior?

c++ c undefined-behavior

C Programming #define? [duplicate]

c macros undefined-behavior

Segmentation fault in strcpy

c++ c undefined-behavior

++i + ++i + ++i in Java vs C

unexpected result when adding to pointer

c undefined-behavior

Call to function (unknown) through pointer to incorrect function type

Obtaining a past-the-end pointer using the address of an array

Seg fault on GCC4.6 when trying to move a large bitset, is this a compiler bug?

Is using reference to pointer that was casted with reinterpret_cast undefined behavior?