%u wrote:
is there any different b/w: auto arr = new int[10];
arr is dynamic array of int with ten elements
and int[10] arr; ?
arr is static array of int with ten elements
%u wrote:
is there any different b/w: auto arr = new int[10];
arr is dynamic array of int with ten elements
and int[10] arr; ?
arr is static array of int with ten elements