Which of the following correctly declares an array in C++? a) array{10}; b) array array[10]; c) int array; d) int array[10];
Answer: d Explanation: Because array variable and values need to be declared after the datatype only.