C – Strrev

C – Strrev 2017-07-19T23:44:59+00:00

Strrev :

Syntax :
#include<string.h>
char *str( char *str);

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

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