0

Guys why this code wont run??

I don't know why it wont run,i thought it's the way to send an int to another int int x=10; int y=11; int x=int y; Why it wont run it says it's wrong

22nd Feb 2020, 7:59 PM
Erfan Mostafavi
Erfan Mostafavi - avatar
2 ответов
0
The variables x and y are already defined, and redefining them into a shared scop will cause a "redifination" error. int x =10; int y = 11; x =y;
23rd Feb 2020, 3:46 AM
Alireza Abbasi
Alireza Abbasi - avatar