Hi,
I execute the following code:
void main(){
short int A[5]={0,0,0,0,0};
return;
}
How is it possible that this array shows random values?
Thank you in advance
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I execute the following code:
void main(){
short int A[5]={0,0,0,0,0};
return;
}
How is it possible that this array shows random values?
Thank you in advance
Please read the section titled System Initialization in the C2000 compiler manual. It seems likely your system is incorrectly performing one or more of the steps described in that section.
Thanks and regards,
-George