Vision and dreams are the blueprints of soul and achievements.
-Mohammed Ahmed F


  #include <string.h>
     char a[100], b[100]; 
     printf("Enter the string to check if it is a palindrome\n"); 
     if( strcmp(a,b) == 0 ) 
       printf("Entered string is a palindrome.\n"); 
       printf("Entered string is not a palindrome.\n"); 
       return 0; 

Share this

Related Posts

Dear User,

Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.

-Chief Administrative Officer.