String Reverse and String Lower in Turbo c

  • This Function Reverse the giver String

    #include <stdio.h>
    #include <string.h>
     
    int main()
    {
       char arr[100];
     
       printf("Enter a string to reverse\n");
       gets(arr);
     
       strrev(arr);
     
       printf("Reverse of entered string is \n%s\n",arr);
     
       return 0;
    }


    This code will convert String into lower case

    #include <stdio.h>
    #include <string.h>
     
    int main()
    {
        char string[] = "Strlwr in C";
     
        printf("%s\n",strlwr(string));
     
        return  0;
    }

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative