In C, copying of array like this is not possible. Why? and best hack
c, data-structures
Solution
You can wrap them in `struct`s to use simple assignment:
struct foo { int a[10]; } x, y;
x = y;
But really, just use `memcpy`.
Problem
``` int x[10],y[10]; x = y; ``` I am thinking of a simple hack, which would enable me to get this effect.