- 1

What is the out put int X = 3; int y= xxy; console . write line (x+"y+")

10th Aug 2016, 9:34 AM
Rami Salim
Rami Salim - avatar
4 Respuestas
+ 11
error. you can't store xxy in the y variable unless you have declared a variable called xxy before with some integer value in it. Also Console.WriteLine() doesn't have any spaces in it.
10th Aug 2016, 9:37 AM
Alireza M
Alireza M - avatar
+ 1
Thank you so much
11th Aug 2016, 7:22 AM
Rami Salim
Rami Salim - avatar
0
it's well give error.
10th Aug 2016, 9:37 PM
ikram khan
ikram khan - avatar
0
1. assignment int y = xxy is not correct as you are trying to assign string value into integer. 2. Console.WriteLine(...) should not contain spaces .
22nd Aug 2016, 7:17 PM
Taras