3 void print_array(char s
[])
6 for(i
= 0; i
<= strlen(s
)-1; i
++)
12 /* reverse chars in array */
13 void reverse(char s
[])
16 for(i
= 0, j
= strlen(s
)-1; i
< j
; i
++, j
--)
24 /* convert ingteger into a string of chars */
25 void itoa(int n
, char s
[])
32 s
[i
++] = n
% 10 + '0';
33 } while ((n
/= 10 ) > 0 );