write program for palindrome
Answer Posted / sahil
answer #9 is correct.
Just use long int instead of int.
and use %ld instead of %d.
I hv tested it.
It works 100%
| Is This Answer Correct ? | 28 Yes | 40 No |
Post New Answer View All Answers
What is the difference between a baller and a reference in C++?
Why do we use classes in programming?
Can a constructor be private?
What is a flag in c++?
Write a code/algo to find the frequency of each element in an array?
How do you find out if a linked-list has an end?
Write a program which uses Command Line Arguments
Why cout is used in c++?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
What is purpose of new operator?
Is c++ slower than c?
Define upcasting.
Differentiate between an inspector and a mutator ?
Do class declarations end with a semicolon? Do class method definitions?
What is c strings syntax?