I would appreciate any help possible. when I run the following code I receive the above error but when I changed it to a pointer is gets solved. does anyone have any explana