- 1

Type in a code to declare an array of 12 doubles named 'darr'

25th Dec 2016, 5:26 AM
darshana joshi
darshana joshi - avatar
2 Answers
+ 2
Methinks it actually makes more sense to do : double darr[12]; Either way works. Just a preference.
25th Dec 2016, 5:40 AM
Hatsy Rei
Hatsy Rei - avatar
- 1
double[12] darr={1.1, 2.2, 4.7, .... };
25th Dec 2016, 5:33 AM
Sandeep Chatterjee