The example bellows compiles, but the output is rather strange :
#include #include struct A { int a; char b; bo
The result of overwriting memory location used by v is undefined behaviour. Everything may happen, according to the standard (including your computer flying off and eating your breakfast).
v