Sir,Thanks for your reply.
I am already know about isspace() fn.
But, after check condition if(isspace(char str)),
how can I print the characters with out space.ie., how to avoid the white space.