Ask Question
26 September, 04:26

Which statement is true of arrays? Select one: a. Only whole numbers can be stored in arrays. b. Arrays cause more work for the programmer, but allow faster program execution. c. Only whole numbers can be used as array subscripts. d. Array elements cannot be reset after the array is declared.

+4
Answers (1)
  1. 26 September, 04:27
    0
    The correct option to the following question is an option (C).

    Explanation:

    Because we have only passed the integer value or the whole number to the subscript and if we pass any character value to subscript then it reads its ASCII value or it occurs an error.

    So, that's why this option is correct.

    Subscript is placed inside the square brackets "[]" which is written with the name of the array.

    For example:

    int arr[0];

    Here, 'int' is the integer data type and 'arr' is the array name and inside the square brackets "0" is the subscript.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which statement is true of arrays? Select one: a. Only whole numbers can be stored in arrays. b. Arrays cause more work for the programmer, ...” 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