strcmp() is used to to copy two strings? true or false
Answers
Answered by
3
True
Instead, a Boolean predefined function strcmp (string comparison) can be used to compare two cstrings to check for equality. cout << "The strings are the same."; The strcmp compares the characters in cstring1 with those in cstring2 a character at a time.
Similar questions
English,
4 months ago
Chinese,
9 months ago
Environmental Sciences,
9 months ago
Math,
1 year ago
Hindi,
1 year ago