In this video we will create a c program to test that a given string is palindrome or not palindrome without using any string.h function.
#include<stdio.h>
int main()
{ int i,j;
char string[100];
printf("Enter a string : ");
gets(string);
for(j=0;string[j]!='\0';j++);
for(i=0,j=j-1;i<=j;i++,j--)
{ if(string[i]!=string[j])
break;
}
if(i<j)
printf("%s is not pallindrome ",string);
else
printf("%s is pallindrome ",string);
return 0;
}
www.tarunsir.com
www.cinstitute.org.in
Connect me on linkedin / tarrunverrma
/ the_ultimate_coding_stuff
#tarunsir #clanguage #learnprogramming #palindromestring
On this page of the site you can watch the video online palindrome string program in c in hindi without using library function with a duration of hours minute second in good quality, which was uploaded by the user Tarun Sir 01 January 1970, share the link with friends and acquaintances, this video has already been watched 5,330 times on youtube and it was liked by 92 viewers. Enjoy your viewing!