Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
Do you mean an array ? Please specific your question If you mean a syntax like that : int arr[] = new int[10]; int index = 0; int val = 3; arr[index] = val; The first index in the array is 0 so arr[0] == 3 . For more help please provide the whole code.
14th May 2020, 12:27 PM
Yahya LAZREK
Yahya LAZREK - avatar