i also forgot to mention that if i specify the array as
int array={1,2,3,4,5} then the array is produced with the correct values,
however the code
int array={1,2,3,4,5,6,7,8,9,10} does not produce the desired array, instead it's an array of {1}'s.
furthermore, if I use 'unsigned int', instead of 'int', then i can only accuratly initialize the array with only 1 element, i.e. unsigned int array={1} is the only array length that woks.
any help is much appreciated