In the given code, the variable NumberOfNames stores the total number of elements in the NAMES array. Since the NAMES array contains three elements ("John", "Eric", and "Jessica"), NumberOfNames will hold the value 3.
In the given code, the variable NumberOfNames stores the total number of elements in the NAMES array. Since the NAMES array contains three elements ("John", "Eric", and "Jessica"), NumberOfNames will hold the value 3.
0 Comments