Question d’entretien chez Microsoft

Reverse a string

Réponses aux questions d'entretien

Utilisateur anonyme

6 nov. 2012

void main() { int i=0; char arr[10]="abcd"; while(arr[i]!='\0') i++; for(i=i;i>=0;i--) printf("%c",arr[i]); getch(); }

1

Utilisateur anonyme

21 août 2010

Wrote a c code to reverse string in place.. that is without using temporary array