Question: Question 5: [3 marks] Using Stack both functions push() and pop(). Implement the Boolean function is palindrome, that takes and array of characters then returns
![Question 5: [3 marks] Using Stack both functions push() and pop().](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66cf40b77a46a_55066cf40b6da84d.jpg)
Question 5: [3 marks] Using Stack both functions push() and pop(). Implement the Boolean function is palindrome, that takes and array of characters then returns true if the characters are palindrome e.g. bool is palindrome(char word[], int size) note: 1- The implementation must include push() and pop() function for at least half of the elements in array word[] to be considered for partial marks. 2- You need to declare StackArray
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
