Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - In C language, all elements of an array with unknown number of elements are assigned the same value.
In C language, all elements of an array with unknown number of elements are assigned the same value.
You can use the system function memset (array name, initial value, sizeof); Give the whole the same initial value.

However, it should be noted that the header file # include.