Starlit Daily

📚 › C

4. Arrays and strings

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.

Show example

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

← Back to course