массивная петля в c
int i, array[5]= {1, 2, 3, 4, 5};
for(i=0 ; i<5 ; i++)
{
printf("%d", array[i]) ;
}
Puzzled Pintail
int i, array[5]= {1, 2, 3, 4, 5};
for(i=0 ; i<5 ; i++)
{
printf("%d", array[i]) ;
}
int arr[] = {1,2,3,4};
char str[] = {'a', 'b', 'c'};
float num[] = {3.4, 1.2, 4.7, 9.3};
int arr[6] = {1,2,3,4};
arr[0] = 0;
arr[4] = 5;
arr[5] = 6;