Home » C++ Programming » Arrays » Question
  1. Which of the following correctly declares an array?
    1. array array[10];
    2. array{10};
    3. int array;
    4. int array[5];
    5. None of these
Correct Option: D

Because array variable and values need to be declared after the datatype only.



Your comments will be displayed only after manual approval.