i am using mp lab hitech c compiler .i have some doubt regarding char array function .in my program char array_1[50]; char array_2[50]; mean successfully compile but not built fault error message come .but char array_1[30]; char array_2[30] mean built successfully .what i do to over come this problem....
Maybe there is insufficient RAM to hold the extra 40 bytes you need (20 in each array).
If the array values are fixed - like a look-up table - you could try declaring them 'const' which would tell the compiler to store them in ROM instead of RAM but obviously the values in them can't be changed by the program if you do that.