Question d’entretien chez Qualcomm

Write a shortest string copy function.

Réponses aux questions d'entretien

Utilisateur anonyme

19 juin 2009

while(str++ = dst++) {}

4

Utilisateur anonyme

5 mars 2010

I should be like the following. while (*str++ = *dst++) {}

1

Utilisateur anonyme

6 avr. 2010

or simplified to: while(*xptr++ = *yptr++);