The clues in the question are modify data and ++ptr. Both these need non-constants. So the only possible answer is a).
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Offline 21,963 posts
since Aug 2005