Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Shaping array initialization
Shaping array initialization
# Contains? & ltstdio.h & gt

int? Major (invalid)

{

int? a[ 10]? =? {0}; /* Define an integer array with the size of 10, and initialize all elements with 0 */

int? Me;

for(I = 0; I< 10; I++)/* Enter 10 array elements from the keyboard */

scanf("%d ",& ampa[I]);

for(I = 0; I< 10; I++)/* Output array elements */

printf("%d?" ,? a[I]);

Return? 0;

The back of your question is incomplete. I just output the contents of the array elements here.