Pages

Monday, February 16, 2015

C Program to check whether a String is Palindrome or not

C++ Program to check whether a String is Palindrome or not

#include<iostream.h>
#include<conio.h>

void main()
{
clrscr();
int i,j,len,flag=1;
char a[20];
cout<<"Enter a string:";
cin>>a;

for(len=0;a[len]!=

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.