0
Dynamic memory allocation
https://code.sololearn.com/cduuEHHiwIF7/?ref=app In this code, while we are dynamically allocating memory for the 2D array, after 4 address why it is taking a gap of 16 bytes but when we are statically allocating 2D array then it does not have such gap.... what is the reason behind this???
2 Respostas
+ 1
You dynamic allocate 3 ints of an array, why do you call them like a nested array? It doesn't make sense.
0
I am trying to allocate 2D array..