Write a program to check if the given array is palindrome or not ??
Utilisateur anonyme
int CheckPal (int *arr , int size) { int i=0,j=size-1,Pal=1; while (i<=j) { if (arr[i]==arr[j]); else { Pal =0; break; } ++i;--j; } if (Pal) return 1; else return 0; }