answersLogoWhite

0

Program to find palindrome using C programming?

Updated: 8/20/2019
User Avatar

Wiki User

8y ago

Best Answer

#include<stdio.h>

#include<conio.h>

#include<string.h>

void main()

{

char a[15],b[15];

printf("Enter the string\n");

scanf("%s",&a);

strcpy(b,a);

strrev(a);

if(strcmp(a,b)==0)

printf("The String is a palindrome");

else

printf("The String is not a palindrome");

}

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Program to find palindrome using C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Find the largest palindrome made from the product of two 3-digit numbers?

906609=913*993 I found this using a relatively simple computer program that I wrote.


Can you make a program using HTML?

Yes, it is a Programming language however you can not create an Application like the sort of thing you'd find in Visual Studios.


Write a program using method plainto check whether a string is a palindrome or not A palindrome is a string that reads the same from left to right and vice-versa?

Palindrome number is a number like 121 which remains the same when its digits are reversed. To find this number in a simple java program, just follow the below way. sum = 0; while(n&gt;0) { r=n % 10; sum=concat(r); n=n / 10; } print r;


How would you improve a program?

You would improve a program by first debugging, then having beta testers test the program to find any other issues. You would then fix those issues. Depending on the programming language used, you could also consider using as less lines of code possible for faster execution. Another, final way is to convert the program to a modular programming style for easier maintenance of the code.


How do you program a crk74b1?

I have a 1996 rca tv and this remote but can't find any info on programming them


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


Menu driven program in c programming?

You can find the source code of the menu driven graphics program here: http://www.start2code.com/Cresources/menu-driven-graphics-program-c.html


What is the difference between programming and debugging?

Programming is the process of creating code. Debugging is the process of fixing problems in existing code.


How do you program a new sliding gate remote rc434?

Check your owners manual for a directions on programming your remote. You should find a step by step guide on how to program it.


Can someone provide the C program for Prim's algorithm?

The C code for Prim's algorithm can be found in the following link. https://sites.google.com/site/itstudentjunction/lab-programming-solutions/data-structures-programs/program-to-find-minimal-spanning-tree-using--prims-algorithm


How do you program astrostart model j5f tx60a?

You will need to go to the settings menu. In the settings menu go to the program option. You will find several options for programming your Astrostart.


Write a c program to find the area and perimeter of circle?

Learn c programming and geometry. It will be easy when you know both.