Why does everyone think new
is the way to create static arrays? What a waste of resources!
Use a 2D array, row=number dialed, col=letters:
char letters[10][4] = { {'-','-','-','-'}, //0
{'-','-','-','-'}, //1
{'A','B','C','-'}, //2
{'D','E','F','-'}, //3
{'G','H','I','-'}, //4
{'J','K','L','-'}, //5
{'M','N','O','-'}, //6
{'P','R','S','-'}, //7
{'T','U','V','-'}, //8
{'W','X','Y','Z'}}; //9