Похожие чаты

If instead of an array it was a struct, would

you have a problem with the concept? array in c is an aggregate type (like structs) with some peculiarities and some superpowers

1 ответов

12 просмотров

Probably I will understand. P.S. I didn't know about array decay. https://www.tutorialspoint.com/what-is-array-decay-in-cplusplus And here is nearly the same code that the OP posted in his question. The language is c++.

Похожие вопросы

Обсуждают сегодня

Карта сайта