Consider the following statements. int alpha[25] [10]; Which of the following st
ID: 3636112 • Letter: C
Question
Consider the following statements. int alpha[25] [10]; Which of the following statements about alpha is true? Rows of alpha are numbered 0...24 and columns are numbered 0...9. Rows of alpha are numbered 1...25 and columns are numbered 1...10. Rows of alpha are numbered 0...24 and columns are numbered 1...10. Rows of alpha are numbered 1...24 and columns are numbered 0...9. What is the output of the following C++ code? 2 4 6 8 10 10 8 6 4 2 4 3 2 1 0 Invalid code Consider the following statements. int alpha [10] [5]; int j, k; Which of the following statements correctly initializes alpha to 0? Only (i) Only (ii) Both (i) and (ii) None of theseExplanation / Answer
please rate - thanks
41 A always starts at 0, rows are first dimension columns second
42 B goes backwards
43 C
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.