Ask Question
30 October, 11:41

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 ()

+2
Answers (1)
  1. 30 October, 11: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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers