Clarification of arrays and memory use
I read a post a couple of days ago, but I cannot remember the exact title - so I'll just start a new one instead of replying on that thread.
In that post I believe that Salem alluded to the fact that memory management becomes more important the longer a program executes. A couple of replies down, Prelude said that all arrays and pointers should have memory properly allocated to them. I might've read this wrong, but it got me thinking.
Does the compiler automatically allocate memory for me when I make a variable declaration?
Now, obviously I have to allocate the amount of memory I may need to pcty (a pointer), but do I have to also do this to cty (an array)? I may have just confused myself getting these replies mixed up, but somebody please help clarify my thoughts!