char * The_Function ( int Element_Count , char Padding ) { char Store [ Element_Count ]; memset ( Store , Element_Count , Padding ); return &Store[ 0 ]; }
are reason why you are committing suicide by returning the address of a automatic variable?
I can see three glaringly obvious code errors.
I could make a number of comments ... But will hold myself back.
View all questions in Keil forum