Trouble with coding to make output go high for certain barcode being scanned

Then, to be even more illogical, you seem to think that all 10 characters of "4848484919" will fit into a single character in your array.

The array is an array of pointers, not an array of chars, so, yes, "4848484919" will fit into a single element of the array. Well, the pointer to it would.