What is the difference between a static array and a dynamic array in C++?
I have to do an assignment for my class and it says not to use static arrays, only dynamic arrays. I've looked in the book and online, but I don't seem to understand.
I thought static was created at compile time and dynamic at runtime, but I might be mistaken this with memory allocation.
Can you explain to me the difference between static array and dynamic array in C++?
Thnaks.