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
Total Preview: 797
String reverse using strrev in c programming language
Copyright © 2024. Powered by Intellect Software Ltd