Ask Question
12 May, 07:05

Which two are valid array declarations? Choose all correct answers) □uint size; □ int size!; □int array size; int[] size;

+1
Answers (1)
  1. 12 May, 10:03
    0
    Answer: int[] size;

    int size[];

    Explanation: The declaration of the array is done with the appropriate type of datatype and associated with the length of the array in the "[]"brackets. The number input present in the "[]" defines about the length of the string that is being used in the particular program.

    int[] size; and int size[]; are the correct declaration and other two options are incorrect because in []int size; length cannot be given before datatype declaration and 'int array size " does not have"[]" to mention the array length.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which two are valid array declarations? Choose all correct answers) □uint size; □ int size!; □int array size; int[] size; ...” 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