When I declare a structure in C, am I sure that the members will be initialized with some specific value, like 0 for integer members?
EDIT:
So, let's say I have a structure that looks like this:
typedef struct
{
int a;
} my_str;
and I declare:
my_str thing1;
worldwide. According to some answers thing1.a will be initialized to 0 - do I understand this correctly?
source
share