Function strrev

Top 

 

Declaration:

void strrev(char s[], int index=0);

Description

The strrev function reverses the byte order in line s. For example, if we write:

char s[] = "1234"; strrev(s);

then the lines will contain "4321".

Returned value