Chapter 10: Problem 16
Assuming that ptr is a pointer to an int, what happens when you add 4 to it?
Short Answer
Expert verified
Answer: When we add 4 to a pointer to an int (ptr), the memory address stored in the pointer will increase by 4 times the size of an int (usually 16 bytes). Note that the actual size of an int may vary depending on the system.