I am learning Data Structures from Schaum's Outlines Data Structures book, and a paragraph says.
On the other hand, some programming languages allow one to read an integer n and then declare an array with n elements; such programming languages are said to allocate memory dynamically.
Please answer the commented question in the following program written in c++.
#include<iostream>
int main(){
    
    int n;
    std::cin >> n;   // reading at runtime.  step1.
    int *arr1 = new int[n];  // I know it is meant for dynamic allocation.  step2.
    int arr2[n];    // Is this dynamic allocation? As reading input at runtime
                    // and creating the array of size correspond to the input taken in step1
    return 0;
}
