To reverse a string, we need two string handling functions like strcpy() & strcmp()?State Whether True or False
Answers
Answered by
3
ANSWER: FALSE.
No need to use two string functions like strcpy() and strcmp() .
Actually, there is separate function for reversing a string which is strrev().
It is used to reverse the whole string.
It is the in-built function available to reverse the string.
This in-built function gives the output in reverse order.
It can be defined in string.h header file.
We can also define a function separately and can be used instead strrev() in-built function.
Similar questions