-bool palindrome_rec_aux(char* mot, int i, int j) {
- if (i >= j) { return true; }
- if (mot[i] != mot[j]) { return false; }
- return palindrome_rec_aux(mot, i+1, j-1);
+bool palindrome_rec_aux(char *mot, int i, int j)
+{
+ if (i >= j) {
+ return true;
+ }
+ if (mot[i] != mot[j]) {
+ return false;
+ }
+ return palindrome_rec_aux(mot, i + 1, j - 1);