Why is 49, 50, 51, 52 stored in the array when I declare testArray[] = {\'1\',\'2\',\'3\',\'4\',\'5\'}? How should i initialize a string array? Thanks
because 49, 50, 51 are the ASCII codes for 1,2,3... You're initializing an array of characters, not strings