1. Reverse words in a string (words are separated by one or more spaces). Now do it in-place.
2. Strip whitespace from a string in-place
Can anyone post more interesting and challenging questions on arrays, strings, pointers etc.
thanx
krithi
1. Reverse words in a string (words are separated by one or more spaces). Now do it in-place.
2. Strip whitespace from a string in-place
Can anyone post more interesting and challenging questions on arrays, strings, pointers etc.
thanx
krithi