Почему не происходит преопределение переменной?
#include <iostream>
int main()
{
Aplly:
int x = 1;
std::cout << "enter some number: ";
std::cin >> x;
if (x < 0) {
goto Aplly;
}
}
#include <iostream>
int main()
{
Aplly:
int x = 1;
std::cout << "enter some number: ";
std::cin >> x;
if (x < 0) {
goto Aplly;
}
}