I have a very small question, I was just wondering why there is an asterisk besides (coins+count) and what exactly it does. I know it's a pointer but that's basically it. Thank you in advance!
Just some extra info - Pointer arithmetic is something that you should understand, but has no benefit most of the time in C++ and will usually be worse as it hurts readability. But you might stumble across code that uses it if you're dealing with some C code bases so it's good to be able to recognize and understand how exactly it works.