assign a pointer to an array variable