What is difference between Dynamic memory allocation and Static memory Allocation?
I don't understand this code:
int arrA[20];
int* arrB = new int [20];
What is the difference between those two lines? Why does Dynamic allocation have array size?