Creating an Array: Difference between revisions

m
→‎{{header|D}}: nl ww; lang tag
m (→‎{{header|C++}}: lang tag)
m (→‎{{header|D}}: nl ww; lang tag)
Line 276:
=={{header|D}}==
{{works with|DMD}}
 
{{works with|GDC}}
<lang d> // dynamic array
int[] numbers = new int[5];
// static array
int[5] = [0,1,2,3,4];</lang>
 
=={{header|Delphi}}==