programming - C - function strrevWhat links here?
Defined in string.h.

Reverses all characters in s (except for the terminating null)

Declaration:


Remarks:

strrev changes all characters in a string to reverse order, except the terminating null character.

For example, it would change

to



Return Value:

strrev returns a pointer to the reversed string.

Example:
  1. include
  2. include


int main(void) { char *forward = "string";

printf("Before strrev(): %s\n", forward); strrev(forward); printf("After strrev(): %s\n", forward); return 0; }
programming - C - function strrev
programming - forth
programming - C - function iscntrl
linux - bash shell test
programming:c:function fgets
programming - programming links
programming:c:function fputc
programming - windows - networking - select based server
programming - C - function utime
filename:programming - C - function strrev
filename:programming%20%2D%20C%20%2D%20function%20strrev
last edit:March 29 2009 21:12:24 (6343 days ago)
ct = 1786425778.000000 = August 11 2026 01:22:58
ft = 1238375544.000000 = March 29 2009 21:12:24
dt = 548050234.000000