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
Using a smart pointer can we iterate through a container?
What do manipulators do?
What are c++ templates used for?
What is void pointer in c++ with example?
What is encapsulation in c++?
Is it possible to write a c++ template to check for a function's existence?
Explain the use of virtual destructor?
Is c++ faster than c?
What is the difference between cin.read() and cin.getline()?
What is a hashmap c++?
Differences between private, protected and public and give examples.
What is the difference between map and hashmap in c++?
To which numbering system can the binary number 1101100100111100 be easily converted to?
How can a struct in c++ differs from a struct in c?
what is a reference variable in C++?