Код: Выделить всё
#include
int main() {
int* arr = new int[5];
for (int i = 0; i < 5; i++) {
*arr[i] = i * 2;
}
for (int j = 0; j < 5; j++) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79862068/what-type-of-entity-is-intarr-new-int5-producing[/url]