- 1

How to read this codes?

int x = x+y

15th Aug 2021, 2:48 PM
Gilah Valmoria
Gilah Valmoria - avatar
3 Respostas
+ 4
Gilah Valmoria , can you specify the language of this code, and can you also show us the complete code or at least the previous lines? thanks!
15th Aug 2021, 7:50 PM
Lothar
Lothar - avatar
+ 1
you declared integer x and you're assigning x to be added with y
15th Aug 2021, 3:05 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
What you didn't understood first you need to learn basics fundamentals. Your question is not complete. Here you have decleared two variables x and y and you are trying to perform addition of two numbers where x type is integer type but your y variable is unknown and undeclared . After addition you are assigning result in x variable.
15th Aug 2021, 6:39 PM
A S Raghuvanshi
A S Raghuvanshi - avatar