C Program to check whether the given string is palindrome or not

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • #palindromestringincornot #palindromestring #palindrome
    C Program to Check the given string is Palindrome or Not.
    C program to check whether a string is palindrome or not.

Комментарии • 43

  • @radhikareddy4266
    @radhikareddy4266 2 года назад +4

    sir i have typed the entire program as same as you,but showing error at gets(s),can you tell me sir what is the mistake.

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад +1

      If u post your program then I will try . Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @priyadharshinikrishnamoorthy11
    @priyadharshinikrishnamoorthy11 2 года назад +1

    Awesome explanation sir..I used watch ur videos often.Thankyou so much sir..Also..can u please upload C program for longest palindrome substring sir..it will be more helpful..Thankyou

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад +2

      Thanks. if possible share with your friends. Thanks in advance. Will try to upload it soon.

  • @wandelrand1283
    @wandelrand1283 2 года назад

    Wonderful explanation, thanks alot

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @lavanyalenka3078
    @lavanyalenka3078 2 года назад +1

    Thank you so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @keerthanapolisetty8142
    @keerthanapolisetty8142 4 года назад +1

    Thank you so much sir.

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +1

      Hai Sai Keerthana , plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @SwapnilVPardeshi
    @SwapnilVPardeshi 3 года назад

    very good explanation sir🌹

  • @hiiii3193
    @hiiii3193 3 года назад

    hi sir ,liked your explanation.
    please work on the audio and it will be more good.Its good now but,it can be better and help channel grow in quality.

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      I will try my best Gopi. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @nishunishu168
    @nishunishu168 2 месяца назад

    Strrev(s) showing error sir can you tell me why??

    • @SudhakarAtchala
      @SudhakarAtchala  2 месяца назад +1

      Write #include Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @nagendrabobbili9115
    @nagendrabobbili9115 7 месяцев назад

    I day batting in your channel is worth it 🎉

    • @SudhakarAtchala
      @SudhakarAtchala  7 месяцев назад +1

      All the best 👍. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @chakralabhaskar2364
    @chakralabhaskar2364 3 года назад

    Sir is strrev function is not included in string.h headerfile

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      strrev() is present in string.h Bhaskar. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @HarshaAvula-s3w
    @HarshaAvula-s3w 7 месяцев назад

    Great sir 🙏

    • @SudhakarAtchala
      @SudhakarAtchala  7 месяцев назад

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @sharathn2140
    @sharathn2140 4 года назад

    Nice explanation

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai Sharath, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @pannagabm2100
    @pannagabm2100 Год назад

    Thank you🙏

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      You’re welcome 😊. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @pratyushamukherjee8463
    @pratyushamukherjee8463 7 месяцев назад

    sir in this flag==0 it shud be ,you had written flag==1.. i chkd it thus saying.. kindly chk

    • @SudhakarAtchala
      @SudhakarAtchala  7 месяцев назад

      Okay. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @muhammadaqeeldar6044
    @muhammadaqeeldar6044 3 года назад

    Can anyone tell me does this program executes so that i can see the video??

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      The program will gets executed with out any errors. U can watch the video. Pls subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @RitwikPolasa
    @RitwikPolasa 11 месяцев назад

    sir i used scanf to remove error but i have another error, it is asking what is meant by strrev. what should i do

    • @SudhakarAtchala
      @SudhakarAtchala  11 месяцев назад

      Include string.h header file. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

    • @RitwikPolasa
      @RitwikPolasa 11 месяцев назад

      @@SudhakarAtchala included sir but still it says it has no such function

    • @SudhakarAtchala
      @SudhakarAtchala  10 месяцев назад

      @@RitwikPolasa if you send the program, i will try to correct it.

  • @loukikaaishwarya4291
    @loukikaaishwarya4291 2 года назад

    #include
    #include
    int main()
    {
    char lou[20],reverse=0;
    printf("enter a string:");
    gets(lou);
    reverse=strrev(lou);
    if(reverse==strrev(lou))
    printf("given string is palindrome %s",lou);
    else
    printf("its not a palindrome %s",lou);
    return 0;
    }
    sir is this program correct??

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад +2

      string assignment can't be done using = operator, we have to use strcpy(). Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @Amulya_Thupari
    @Amulya_Thupari 2 года назад

    Very nice and detailed explanation sir, but program have some errors at get(s);
    It's not executing😕

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      if u share the code, i will try to rectify it. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

    • @Amulya_Thupari
      @Amulya_Thupari 2 года назад +1

      @@SudhakarAtchala sir the same code which u have written...

  • @abhilashvp7982
    @abhilashvp7982 Год назад +1

    #include
    #include
    int main()
    {
    char S[10],temp[10];
    printf("enter a sting");
    gets(S);
    strcpy(temp,S);
    strrev(S);
    if(strcmp(temp,S)==0)
    printf("Its palindrome");
    else
    printf("Its not palindrome");
    return 0;
    }
    sir gets is not woriking

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Problem with software , so use scanf.
      Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @shaikreshma3590
    @shaikreshma3590 3 года назад

    Thank u so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      So nice of you Reshma. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.