Hi all..
In C, i have read tat half-initialized arrays will be filled with zeros for the rest of the elements (irrespective of integer or char arrays)..
Eg: int arr[10] = {3}; arr[4] will be 0 if initialized and a junk value if not initialized
My question is, will the above work for all C compilers (or) this appending of zeros might occur or not occur depending on the compiler option.. am working in Code composer studio (TI's IDE).. i want to ensure that this will work for all cases and all compilers