Ask Question

This function removes the white spaces and other predefined characters from both sides of a string

Select one:

a. strcmp ()

b. ltrim ()

c. trim ()

d. rtrim ()

+3
Answers (1)
  1. 13 January, 07:46
    0
    trim ()

    Explanation:

    trim () is predefined function which is used to remove white spaces and other predefined characters from both sides of the string. ltrim () and rtrim () also removes white spaces and predefined characters from the string but from left and right respectively. But trim () function removes from both ends. Hence we conclude the answer is trim ().
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “This function removes the white spaces and other predefined characters from both sides of a string Select one: a. strcmp () b. ltrim () c. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers