Which of the following correctly declares on array?
Answers
Answered by
1
Answer:
Que.
Which of the following correctly declares an array?
a.
int array[10];
b.
int array;
c.
array{10};
d.
array array[10];
Answer:int array[10];
Explanation:
please mark me as brainliest
Answered by
3
The correct declaration of an array is (a) int array[10];
- For a memory location that is contiguous, a collection of identical types of items are there, this is known as an array.
- The array is a part of a derived data type that can store the data types that is primitive like char, int, float, double, short.
- In array, we can perform different methods of sorting and searching.
- It can store multiple numbers of values.
Correct question:
Which of the following correctly declares an array?
a.
int array[10];
b.
int array;
c.
array{10};
d.
array array[10];
Similar questions