Try this: const unsigned char Str1 [2][5] =3D {"Hello\0", "Bye \0"}; That should put an explicit NULL at the end of each string. Microchip wrote: >=20 > I want to declare an array of strings like : >=20 > const unsigned char Str1 [2][5] =3D {"Hello", "Bye "}; >=20 > My problem is the compilator doesn't put the null caracter (\0) at end = of each string. >=20 > I also try : >=20 > const unsigned char Str1 [2][6] =3D {"Hello", "Bye "}; >=20 > but it also doesn't work. >=20 > Please can someone help me? >=20 > Jonathan Poulin > Technicien en =E9lectronique et programmeur > Nova Biomatique Inc > jpoulin@novabiomatique.com >=20 > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics