C/C++ source code to trigger Address and Undefined Behaviour