Ask Question
23 June, 09:45

Which of the following statementsdeclares alpha to be an array of 25components of the type int?

a.

int alpha[25];

c.

int alpha[2][5];

b.

int array alpha[25];

d.

int array alpha[25][25];

+5
Answers (1)
  1. 23 June, 10:38
    0
    The statement in the option (a) declares alpha array of 25 elements of type int.

    and the statement is int alpha[25];

    Explanation:

    The syntax for declaring an array is as following:-

    data type array_name[size];

    Option (a) correctly matches the syntax written above. So we can conclude that option (a) is the answer i. e data type = int, array name=alpha and size=25.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following statementsdeclares alpha to be an array of 25components of the type int? a. int alpha[25]; c. int alpha[2][5]; b. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers