1.

To reverse a string, we need two string handling functions like strcpy() & strcmp()?State Whether True or False

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.



Discussion

No Comment Found