Arista Networks interview question

Implement a function to detect if a string was a palindrome, in C.