Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for Palindrome
void main()
{
char ch[30];
char ch1[30];
int i,j,l;
clrscr();
printf("ENTER THE STRING: ");
gets(ch);
l=strlen(ch);
j=0;
for(i=l-1;i>=0;i--,j++)
ch1[j]=ch[i];
ch1[j]='\0';
if(strcmp(ch,ch1)==0)
printf("IT IS A PALINDROME");
else
printf("IT IS NOT A PALINDROME");
getch();
}
OUTPUT :
ENTER THE STRING: MALAYALAM
IT IS A PALINDROME
Function fact explain how the process of recursion works in C++.In your answer assume that the function is called to calculate the factorial of 6?
Structures A structure is a user-defined data type, which may have different data types as its members. Creating a structure is a two-part process. First, a structure template
Railway station simulation codeing in c..
C program to show overloading of matrix operator: Write a program for matrix operator overloading. class matrix{ private : int x[
Define a complex number in c program: class complex { private: in
i need a detailed c program to explain the parameters of bernoulli''s equation..
Classify computer systems according to capacity. How they are different from computers according to the classification of technology. Provide comparative study also.
Both malloc & new functions are utilized for dynamic memory allocations & the basic difference is: malloc need a special "typecasting" while it allocates memory for eg. if the poin
write a c++ program for minimum shelf downloads
Looping Statements The statements usually used for looping are for, do-while, while. The goto statement can be used for looping, but its use is generally avoided as it leads to
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd