Suppose I have two int arrays x and y, and both of them have length 3. x={0,1,2}.
Is there any one step way to assign the values of x to y. When I do y=x, and try to print the values of y,
the code does not compile.
I dont want to go through the pain of writing a for loop, and write y[i]=x[i]