Open In App

ISRO | ISRO CS 2008 | Question 1

Which of the following correctly declares an array?

(A)



int geeks[20];

(B)



int geeks;

(C)

geeks{20};

(D)

array geeks[20];

Answer: (A)
Explanation:

Option A is correct. Int is the data type used, geeks is the name of the array and 20 is the size of the array.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :