I would like to get a two dimensional int array arr that I can access via arr[i][j].
As far as I understand I could declare int arr[10][15]; to get such an array.
In my case the size is however variable and as far as I understand this syntax doesn't work if the size of the array isn't hardcoded but I use a variable like int arr[sizeX][sizeY].
What's the best workaround?
 
     
     
     
     
     
     
     
    