How to make variables in continuously memory?

I am using several array variables. The last variable is always using a separate memory instead of using the consecutive memory right after the previous one.  How do I make them in continuously memory?

More questions in this forum