April 16, 2011 auto arr = new int[10]; | ||||
---|---|---|---|---|
| ||||
is there any different b/w: auto arr = new int[10]; and int[10] arr; ? |
April 16, 2011 Re: auto arr = new int[10]; | ||||
---|---|---|---|---|
| ||||
Posted in reply to %u | %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 |
Copyright © 1999-2021 by the D Language Foundation