Ask Question
15 March, 12:19

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.

+5
Answers (1)
  1. 15 March, 14:22
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers