Which of the following swaps the values of someNums[0] and someNums[1], which currently contain the values 8 and 3, respectively?
A. someNums[0] = someNums[1]
someNums[1] = someNums[0]
B. temp = someNums[0]
someNums[0] = someNums[1]
C. temp = someNums[0]
someNums[0] = someNums[1]
someNums[1] = temp
D. someNums[0] = someNums[1]
someNums[1] = someNums[0]
someNums[1] = temp
Answer: C
You might also like to view...
An alternative approach to get around a problem is called a(n) ________.
Fill in the blank(s) with the appropriate word(s).
While HTML is the language used to display webpages, ________ is the standard language for describing and delivering data on the web
Fill in the blank(s) with correct word
Critical Thinking Questions Case 3-2 ? You have enjoyed using your new computer-so much so that you have created a lot of files very quickly. As a result, you find yourself regularly needing to search for files to find what you need amidst all that you have created. ? In your first effort at using the Search box, you see that there is a significant amount of activity to indicate that the search is in progress. Which of the following is NOT an indication that your search is under way??
A. ?A searching message displays in the list area. B. ?An animated progress bar provides live feedback on how much of the search has been completed. C. ?An animated circle attaches to the pointer. D. ?An asterisk blinks to indicate a search using a wildcard value.
The mouse shortcut for selecting a word is to ________ the word.
Fill in the blank(s) with the appropriate word(s).