## [S2] Palindrome

Palindrome are strings of text which read the same backward as forward, i.e. : "racecar", "a man a plan a canal panama" or "kayak".

Write the body of the function pal which tells if the given string is a palindrome or not. Ignore spaces. An empty string is considered a palindrome. You can use all the functions that are defined in string.h

#include <string.h>
/*
* @return: returns true (1) if str is a palindrome, -1 if str is NULL, otherwise false (0).
*/
int pal(char *str) {


### Information

 Author(s) Arthur van Stratum Deadline No deadline Submission limit No limitation Category Tags S2