+ 1

why do we put () in int** a = new int*[n]()

during dynamic allocation of 2D array, why are we putting () after int*[n](), I mean even if we ommit the paranthesis, still the code runs.

13th Jul 2019, 9:14 AM
Snigdh
Snigdh - avatar
1 Odpowiedź
0
Who use () ???
25th Jul 2019, 10:34 AM
UraL