b) Write a function that checks whether a string of characters is a palindrome or not. The function should use a stack library (cststack.h) of a stack of characters using a static implementation of the stack.
Write a function that checks whether a string of characters is palindrome or not. Data Structure / Assignment 4 / Set B The User-defined header file: Save this above code…