Will the array work,if i give less amount of elements than array length? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Will the array work,if i give less amount of elements than array length?

Means,if int [ ] a =new int[10]; And I only enter 3 int to user input . Will the code run?

20th Jun 2020, 12:53 PM
Amit
1 Answer
+ 1
OK
20th Jun 2020, 1:02 PM
Amit