c programs on strings etc