#include< iostream>
#include< unordered_set>
using namespace std;
bool checksum( int arr[], int n ){
//code
}
int main(){
int n;
cin >> n ;
int arr[n];
//code
}
So in the video “check subarray with sum zero” the memory of the array which is created is dynamic or static because the value of n is taken at runtime ?