Код: Выделить всё
int main()
{
int arr[] = {1,2,3,7,8};
std::size_t size = sizeof arr;
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/64281889/size-of-array-in-c[/url]Код: Выделить всё
int main()
{
int arr[] = {1,2,3,7,8};
std::size_t size = sizeof arr;
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/64281889/size-of-array-in-c[/url]