Check out example codes for "strrev in c". It will help you in understanding the concepts better.
Code Example 1
#include<stdio.h>
#include<string.h>
int main()
{
char name[30] = "Hello";
printf("String before strrev( ) : %s\n",name);
printf("String after strrev( ) : %s",strrev(name));
return 0;
}
Learn ReactJs, React Native from akashmittal.com