Possible Duplicate:
Why does C++ support memberwise assignment of arrays within structs, but not generally?
Why is it that we can assign the object of one structure to other directly eg:
struct student s1,s2;
s2=s1 //is perfectly ok.
but we can not assign one array value to the other eg:
int a[10],b[10];
a=b //is not allowed.
though the element of structure may contain any no of arrays.
Please Explain.