Question: Assuming that ptr is a pointer to an int, what happens when you add 4 to it? Select one: O a. The address is advanced
Assuming that ptr is a pointer to an int, what happens when you add 4 to it? Select one: O a. The address is advanced by 4 bytes in memory. b. The new address is the sum of the old address plus 4. c. 4 is added to the int pointed to by ptr. d. The address points to the next int in memory since an int occupies 4 bytes. e. The pointer will move 4 integers forward in memory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
