Ask Question
10 April, 19:19

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

+2
Answers (1)
  1. 10 April, 21:10
    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?
Find 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 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