C Program Of Strrev() Function

C Program Of Strrev() Function

#include<stdio.h>
#include<string.h>

main()
{

char str1[20];

printf("Enter string 1:\n");
scanf("%s",str1);


printf("reverse is %s\n",strrev(str1));
}

Related Posts