1.

Give the syntax to declare an integer 2D array dynamically.

Answer»

int * ptr = new int [m*n]; 

where m and n are rows and columns



Discussion

No Comment Found