I am new to programming and have a couple of questions.
Is there a place (a link) which would help me to understand memory and how it is used?
For example, what is a stack and bin, etc...
Furthermore, when using C style strings, if you initialize 3 char arrays in a row with max length 16, how will the memory be allocated.
What I mean is does string1 get the lowest memory address or highest of the three.
The reason I ask is because if the second or middle string is changed during the program to something larger than size 16, I know it will over write some of the memory for what ever variable is next to it. So if you over write string 2 will it destroy string 3 or string 1??
Any help would be appreciated. I just hope you understand what I mean.