It is always useful to initialize ALL elements in an array or structure to avoid many errors.
Below can help you.
Initialization for the structure
struct myStruct { int i; int j; myStruct() { j=10;
Initialization for an array:
unsigned char array[5]; array[0]='A'; array[2]='C';
source share