Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - In C language, the array a[2] is created. If I only assign a value to a[0], will the system automatically assign a value of 0 to a[ 1]?
In C language, the array a[2] is created. If I only assign a value to a[0], will the system automatically assign a value of 0 to a[ 1]?
The landlord's statement is right. I forgot whether it was written by the teacher or the textbook. In short, it's true. 100% is correct.

-

Why don't you believe in yourself and don't care what others say? Practice is the only criterion for testing truth.

Whether it is static global or local, as long as the array is initialized, the unassigned part must be 0.

Whether it is Windows or Linux system, whether it is vs or gcc compilation, it is definitely the answer.

The teacher really taught in class that what others say may always be right, but it may not always be right.

Why don't you choose me as the correct answer? ............... complained. ..................