String reverse without to turn the numbers in c <pre><code>int main() { char str[1000],temp; int i,j=0; printf("String: "); gets(str); i=0; j=strlen(str)-1; while(i&lt;j) { temp=str[i]; str[i]=str[j]; str[j]=temp; i++; j--; } printf("\n"); printf("%s",str); return 0; } </code></pre> <p>I want to change the rota </p> <p><strong>- In: 15 15 15 15 15 0 0<br> - Out: 0 0 51 51 51 51 51 but i want : 0 0 15 15 15 15 15</strong></p>