void IsArraySorted(char *,int,bool*);

char cVal1[] = {'J','i','g','v','w');
bool result;

check to see if the array is sorted , put the answer in result