Wydrukuj tablicę w C
int array[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
int i;
for (i = 0; i < 10; i++) {
printf("%d ", array[i]);
}
Marton
int array[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
int i;
for (i = 0; i < 10; i++) {
printf("%d ", array[i]);
}
for (int i = 0; i < length; i++)
{
printf("%d ", arr[i]);
} //Change "length" to size of your own array and rename "arr" to your own array name