a) int array[10];
b) int array;
c) array{10};
d) array array[10];
1 thought on “ Which of the following correctly declares an array?”
Leave a Comment
You must be logged in to post a comment.
a) int array[10];
b) int array;
c) array{10};
d) array array[10];
You must be logged in to post a comment.
a
Explanation: Because array variable and values need to be declared after the datatype only.