Ask Question
7 April, 07:00

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.

+1
Answers (1)
  1. 7 April, 08:46
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers