#include #include char *s1 = "This is a long string. Even more than one sentence!"; int stringLength(char * string) { int length; length = 0; while( *string != '\0' ) { length++; string++; } return length; } char * mystrcpy ( char * destination, const char * source ) { int k=0; while( source[k] != '\0') { destination[k] = source[k]; *(destination+k) = *(source+k); k++; } destination[k] = '\0'; return destination; } void strInverter(char* start) { char* stop, tmp; // hitta sista tecknet stop = start; while(*stop) stop++; stop--; // swappa tecken while(start