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 operator overloading in c++ example?
What is data abstraction? How is it different from data encapsulation?
What are destructors?
What is the use of class in c++?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
How the keyword struct is different from the keyword class in c++?
Write about the use of the virtual destructor?
Does c++ have foreach?
What is a block in c++?
What are c++ tokens?
Explain data encapsulation?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What is purpose of new operator?
Is c++ platform dependent?
What is the latest version on c++?