char * The_Function ( int Element_Count , char Padding ) { char Store [ Element_Count ]; memset ( Store , Element_Count , Padding ); return &Store[ 0 ]; }
en.wikipedia.org/.../99_Flake
Take for example a closer look at the parameter order for the memset() call - the compiler can't see this problem...
... software
Nope, didn't when I tried it here.
Clearly it's wrong - as in unintentional.