why do we put () in int** a = new int*[n]() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
0
Who use () ???
25th Jul 2019, 10:34 AM
UraL