Advertisement
J00ker

....

Dec 15th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. void ElimSpatii(char a[])
  2. {
  3. for(int i = 0; a[i] != 0; i++)
  4. if(a[i] == ' ')
  5. {
  6. int n = i;
  7. while(a[n] != 0)
  8. a[n] = a[++n];
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement