Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Why does this code print 1 2 2 and not the expected 3 3 1? [duplicate]

Behaviour and Order of evaluation in C# [duplicate]

Signed right shift = strange result?

Why can an array receive values more than it is declared to hold

c arrays undefined-behavior

What happens if you dereference `new int`?

Are the following statements using pointer arithmetic involving out of bound aceess valid?

Is this undefined behavior in C/C++

c++ c undefined-behavior

Is this undefined behaviour in C++?

c++ undefined-behavior

Why is freeing invalid pointers left undefined in C++?

Reading an indeterminate value invokes UB? [duplicate]

c undefined-behavior

Undefined behaviour during compile time and run time [duplicate]

Is flattening a multi-dimensional array with a cast UB [duplicate]

putting iterator on a container inside it

Are there any 2-complement platform/compiler, where signed shift doesn't do the usual thing?

c++ undefined-behavior

How to get VS or Xcode warning with something like "x = x++"?

Function not called in code gets called at runtime

Is calling a function with local side-effects twice in the same expression undefined behavior?

c undefined-behavior

Near constant time rotate that does not violate the standards

Invalid pointer becoming valid again

c undefined-behavior