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!
Program is to check whether the string entered is a palindrome or not:
Program is to check whether the string entered is a palindrome or not invoke function from main
int palindrome(char *st);
void main()
{
clrscr();
int x;
char *st;
int ans;
cout<<" enter the string ";
cin>>st;
ans=palindrome(st);
if (ans==0)
cout<<" the string is palindrome ";
else
cout<<" the string is not a palindrome ";
}
int palindrome(char *st)
int i;
int l=strlen(st);
for(i=0;i { if (st[i]!=st[l-1-i]) return 1; } return 0; }
if (st[i]!=st[l-1-i])
return 1;
return 0;
find area under the curve y=f(x) between x=a &y=b integrate y=f(x)
Step 1 Define the start of the program It should be noted that within C all commands should end in a semi-colon. For most of your programs the definition of a program header as
Develop a client and a server for an instant messaging system based on UDP and IPv4
How to write a global inline function First, let's get away from member functions for a moment and consider a global function. To make a request that this function be in line:
Pointer Types Pointer holds the address of an object, permitting for the indirect manipulation of that object. They are used in creating linked data structures like lists, tree
Create a program that will accept 3 numbers. The first number (num1) is the common difference and the second number (num2) is the starting number and the 3rd number (num3) is the m
1. Basic Heap: Each memory location in our model of the RAM will be an instance of type Memory: 2. typedef union Memory_u Memory; 3. union Memory_u{ 4. char character;
difference
This assignment is to be undertaken individually - no group work is permitted. Background information This assignment is an exercise in simple object-oriented programming and, acco
How do you declare an integer variable? Explain with an example.
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