#include <iostream>
using namespace std;
int main()
{
const int y;
const int x = 10;
int myArr[x] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
x++;
return 0;
}
Posted inC++
#include <iostream>
using namespace std;
int main()
{
const int y;
const int x = 10;
int myArr[x] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
x++;
return 0;
}