Fara prea multe comentarii (cu exceptia celor din cod :-), inca o problema din cursul de la University College Cork, menita sa fixeze notiuni precum siruri de caractere, tablouri, functii.
1. Write and test a function that inserts a character anywhere in a string. The function should take the general form: strins( char *string, char character, int position ).
1. Write and test a function that inserts a character anywhere in a string. The function should take the general form: strins( char *string, char character, int position ).
Codul si printscreen-ul executiei: