Write functions odd and even, which takes a list of symbols L, and produces a sublist of L containing symbols located at odd and even positions repectively. E.g., (odd \'(a b c d)) = (a c) (even \'(a b c d)) = (b d) (odd \'(a)) = (a) (even \'(a)) = () Solution //just assumed that the size of array is 10 you can chnage it accordingly void oddAndEven(char arr[10]) { char sublistodd[5],sublisteven[5]; int j,k; for(int i=0; i <10 ; i++) { if(i/2 == 0 && i<=4) { sublisteven[i] = arr[i]; j = i; j=j+1; } else if(i/2 != 0 && i<=4) { sublistodd[i] = arr[i]; k = i; k++; } else if(i/2 == 0 && i>4 && j<5) { sublisteven[j] = arr[i]; j++; } else if(i/2 !=0 && i>4 && k<5) { sublistodd[k] = arr[i]; k++; } } } .