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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ต.ค. 2024

ความคิดเห็น • 43

  • @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.

  • @radhikareddy4266
    @radhikareddy4266 3 ปีที่แล้ว +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  3 ปีที่แล้ว +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.

  • @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.

  • @nagendrabobbili9115
    @nagendrabobbili9115 9 หลายเดือนก่อน

    I day batting in your channel is worth it 🎉

    • @SudhakarAtchala
      @SudhakarAtchala  9 หลายเดือนก่อน +1

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

  • @HarshaAvula-s3w
    @HarshaAvula-s3w 9 หลายเดือนก่อน

    Great sir 🙏

    • @SudhakarAtchala
      @SudhakarAtchala  9 หลายเดือนก่อน

      Thanks. 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.

  • @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.

  • @pannagabm2100
    @pannagabm2100 ปีที่แล้ว

    Thank you🙏

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

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

  • @nishunishu168
    @nishunishu168 4 หลายเดือนก่อน

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

    • @SudhakarAtchala
      @SudhakarAtchala  4 หลายเดือนก่อน +1

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

  • @SwapnilVPardeshi
    @SwapnilVPardeshi 3 ปีที่แล้ว

    very good explanation sir🌹

  • @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.

  • @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.

  • @RitwikPolasa
    @RitwikPolasa ปีที่แล้ว

    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  ปีที่แล้ว

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

    • @RitwikPolasa
      @RitwikPolasa ปีที่แล้ว

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

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

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

  • @pratyushamukherjee8463
    @pratyushamukherjee8463 9 หลายเดือนก่อน

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

    • @SudhakarAtchala
      @SudhakarAtchala  9 หลายเดือนก่อน

      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.

  • @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...

  • @loukikaaishwarya4291
    @loukikaaishwarya4291 3 ปีที่แล้ว

    #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  3 ปีที่แล้ว +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.

  • @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.