On hackerrank I came across a question which contained this piece of code
int main(){
int n, val;
cin>>n; //The number of objects that is going to be created.
Person *per[n];
...
I thought it wasn't possible to have dynamically sized arrays in C++ so I'm pretty confused about this and would appreciate any clarification.