Question d’entretien chez Google

How does fork() work? code Remove chars at first string from second string.