Код: Выделить всё
int countArray(int a[])
{
int size = 0;
while(a[size] != NULL)
{
size++;
}
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/51287883/find-number-of-element-of-array-when-it-use-as-parameter-in-c[/url]Код: Выделить всё
int countArray(int a[])
{
int size = 0;
while(a[size] != NULL)
{
size++;
}
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/51287883/find-number-of-element-of-array-when-it-use-as-parameter-in-c[/url]