Need to get size of the char array. had to stop because leaving. something like sizeof(arr) / sizeof (int)