Hi, I have a question concerning partly initialized array. I'll give an example of code:
int array[20] = {[10] = 55};
Does compiler grants me any assurance, that other values (except with index 10) will have some particular value? I've read, that when using C99, other values will be 0, but what if I don't specify any standard?
int array[20] = {[10] = 55};
Does compiler grants me any assurance, that other values (except with index 10) will have some particular value? I've read, that when using C99, other values will be 0, but what if I don't specify any standard?
Comment