In C, I'm trying to initialise a structure's member but I'm unable to do it. Here is my code construct:
struct values{
int a;
int b;
int b;
int d;
};
struct values value[65535];
I want to initialise b member of the structure to -1 for all the values in the struct object array. I'm unable to figure out good way to do this.