Starlit Daily

📚 › C

4. Arrays and strings

Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.

Arrays in C have a fixed size and start at index 0. A string is an array of char that ends with a zero byte.

Ver ejemplo

int a[] = {2, 4, 6};
printf("%d\n", a[1]);

← Volver al curso