C – Strrev

C – Strrev 2017-08-06T09:20:30+00:00

Strrev :

Strrev() function reverses all characters in str(except for the terminating null ). Returns a pointer to the reversed string.

Syntax :
char *str( char *str);

C – STRREV EXAMPLE PROGRAM :

Output :

Before :

str  : I LIKE C PROGRAMMING

strrev(str): GNIMMARGORP C EKIL I

After :

str = GNIMMARGORP C EKIL I

Prev Next