InterviewSolution
Saved Bookmarks
| 1. |
How To Assign One Array To Another? |
|
Answer» You can't assign an array to other. Arrays are not lvalue, because they don't refer to one variable, RATHER a set of variables. So they can't be PLACED on the left hand side of an assignment statement. For EXAMPLE the FOLLOWING statement will generate compilation error. You can't assign an array to other. Arrays are not lvalue, because they don't refer to one variable, rather a set of variables. So they can't be placed on the left hand side of an assignment statement. For example the following statement will generate compilation error. |
|