strrev() function in C:strrev( ) function reverses a given string in C language. Syntax for strrev( ) function is given below.char *strrev(char *string);