given that int x[ ]={1,9,,8,5,2}; 1)what is the length?
2)what is x[2]
Answers
Answered by
2
Answer:
1) The length is 5
2) x[2] = 8
Explanation:
Dude I think by mistake you give the extra "," sign. see the length is array is 5 . In address the 1element is of index 0 , So, ATQ x[2] is the third element of array
please mark as brainlist and give vote by pressing heart icon :)
Similar questions