Question:String reverse using strrev in c programming language
Answer
#include<stdio.h> #include<string.h> int main(){ char str[50]; char *rev; printf("Enter any string : "); scanf("%s",str); rev = strrev(str); printf("Reverse string is : %s",rev); return 0; }
+ ExplanationNot Moderated
+ Report
String reverse using strrev in c programming language