Fixed bug for array and pointer assignment.