subject

Write a c language program to test if a string is a palindrome using a stack. you can push characters in the stack one by one. when you reach the end of the string, you can pop the characters and form a new string. if the two strings are exactly the same, the string is a palindrome. note that palindromes ignore spacing, punctuation, and capitalization. test your program with the following test cases.
go dogmadam, i'm adammadam, i'm not a palindrome

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
Analyze the following code. int x = 1; while (0 < x) & & (x < 100) system.out.println(x++); a. the loop runs forever. b. the code does not compile because the loop body is not in the braces. c. the code does not compile because (0 < x) & & (x < 100) is not enclosed in a pair of parentheses. d. the numbers 1 to 99 are displayed. e. the numbers 2 to 100 are displayed.
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
question
Computers and Technology, 24.06.2019 10:50
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
You know the right answer?
Write a c language program to test if a string is a palindrome using a stack. you can push character...
Questions
question
Business, 21.11.2020 01:00
question
Arts, 21.11.2020 01:00
question
Mathematics, 21.11.2020 01:00
question
Mathematics, 21.11.2020 01:00