Code:
int a[10] = { 0 };
This will initialized all elements of a to zero on MS Visual C++ and Dev-C++ 4.9.9.2. I'd like to know if this is part of the C++ standard or if it's compiler dependent. If possible, could you guys provide me a link where I can read about it? Thanks.