Frequently asked questions
Here are some questions that might be on your mind:
Q) What’s the difference between pointers and references?
A) Pointers are like references with boosters. Pointers can be changed to point to different variables (memory addresses), as well as point to dynamically allocated memory on the heap.
Q) What’s the deal with arrays and pointers?
A) Arrays are really constant pointers to their first element.