Print An Array | C Programming Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thanks alot for the content, it helped me alot

wut
Автор

Can something like this also work in your example?

int length = (int)( sizeof(array) / sizeof(array[0]));

So the length is computed automatically when the size of the array changes.

johnali