Here, we declare and initialize the array using array literal notation. We can access an array element by referring to the index number. Since, the array indexes begins with 0, x[0] is the first element of this array. Therefore, the output after executing the following code fragment will be 1.
Answer:
d. 1
Comments
Leave a comment