It's not a palindrome in that form - you have to use the contraction I'm for "I am"A bit tougher? No only does a palindrome have to be a mirror reflection in the characters used, it also has to make sense. Could any processor parse "Madam, I am Adam"? Or have come up with it to begin with? Drop the caps and punctuation and it's "madamiamadam". Nothing really jumps out to me.
Can you make palindromes in Chinese?
thanks for your reply i attended one interview actually the HR asked the question to me. can u tell me how can we assign strings in microprocessor? can we?Anything is possible. Practical is another matter entirely. Generating palindromes of random symbols is trivial and involves a simple data structure called a pushdown stack. Generating a meaningful palindrome in any of the planets natural languages is a bit tougher. A related problem called a fuzz phrase generator is easy and loads of fun to program and observe. Tell us more about what you had in mind.
thanks for your replyWhat gets assigned is a pointer to the first character in the string. The length is determined by having an "end" marker like a zero or null character. It is also possible to encode the length of a string in the string data.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
L | Removing microprocessor | Technical Repair | 11 | |
K | How do I eliminate noise in an 8085 circuit? | Microcontrollers | 18 | |
S | Program the 8085 microprocessor IC | Microcontrollers | 2 | |
S | Writing a microprocessor program | Homework Help | 3 | |
N | division program in 8086 microprocessor | Programming & Languages | 2 |
by Jake Hertz
by Jake Hertz
by Jeff Child
by Jeff Child