Sample C/C++ code to trigger Address and Undefined Behaviour Sanitizers