+ 1

[41] == 42 elements right?

When the quiz asks for an array with 42 elements, then why is “new double[42]” the right answer, and “new double[41]” wrong? element [0] counts too, right??

15th Jan 2018, 11:08 PM
Richard
Richard - avatar
3 odpowiedzi
+ 2
Thanks for answering. Exactly my thoughts, so then why is an array with number 42 within the brackets the right answer, it should be [41] 🤔
15th Jan 2018, 11:10 PM
Richard
Richard - avatar
+ 1
Ohh thanks, I thought it to be otherwise. Much appreciated!
15th Jan 2018, 11:14 PM
Richard
Richard - avatar
0
correct
17th Jan 2018, 7:29 AM
Echehomos Cornelius Jr
Echehomos Cornelius Jr - avatar