Ask Question

Int [] val = { 3, 10, 44 };

val[1] = 55;

1) 55 10 44

2) 3 10 55

3) 3 55 10

4) 3 55 44

Q1

+2
Answers (1)
  1. 29 October, 17:12
    0
    1)

    Explanation:

    val[1] represents the first value of the table 'val', which at first is 3. The table val is at first 3, 10, 44.

    val[1] = 55; means that we just changed that first value (3) in the table to 55.

    What's the table now?

    55, 10, 44, rather than 3, 10, 44
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Int [] val = { 3, 10, 44 }; val[1] = 55; 1) 55 10 44 2) 3 10 55 3) 3 55 10 4) 3 55 44 Q1 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers