Write a program to copy its input to its output, replacing each string of one or more blanks by a single blank.
exercise 1-9 chapter 1 from the c programming language K&R.

i can do this program generally..i was wondering if it could be done through pointers...i tried but couldnt do....
plz help or give a hint..!!
thnkz