Question d’entretien chez Deutsche Telekom

write a code to replace a character in given string