Ask Question
14 April, 05:20

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];

+4
Answers (1)
  1. 14 April, 08:29
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers