I was trying to generate a function that will delete all the spaces from a given passage. I was successful....my program may look a bit clumsy....but it is working on pretty fine....
char *spacedel(char *a)
int i, j, c=0, l=strlen(a);
while(i<l && j<(l-c))
char a="C is the philosophy of life.";
Immediately after this I was given an assignment to retreat the sentence, I mean say the sentence initially given was...
C is the philosophy of life.
After running through my program it becomes...
Now, I have to retain it to its original form.....with the use of another function....
How on the earth am I gonna do that???????
Please help....I am getting confused even in tracing out my process....