How can I remove the trailing spaces from a string? Ans. The C language does not provide a standard function that removes trailing spaces from a string. It is easy, however, to build your own function to do just this. The following program uses a custom function named rtrim() to...
See more
Download the Study24x7 App, so you can connect and collaborate.