logo
menu
Sign up
  1. Topics
  2. Computing
  3. C++ Programming Program Design Including Data Structures Study Set 1
  4. Quiz 8: Arrays

Which of the Following Statements Declares Alpha to Be an Array

Question 11
Multiple Choice

Which of the following statements declares alpha to be an array of 25 components of the type int? A) int alpha[25]; B) int array alpha[25]; C) int alpha[2][5]; D) int array alpha[25][25];

Related questions
Q 12
Assume you have the following declaration char nameList[100];.Which of the following ranges is valid for the index of the array nameList? A) 0 through 99 B) 0 through 100 C) 1 through 100 D) 1 through 101
Q 13
Assume you have the following declaration int beta[50];.Which of the following is a valid element of beta? A) beta['2'] B) beta['50'] C) beta[0] D) beta[50]
Q 14
Assume you have the following declaration double salesData[1000];.Which of the following ranges is valid for the index of the array salesData? A) 0 through 999 B) 0 through 1000 C) 1 through 1001 D) 1 through 1000
logo
QuizPlus
  • About
  • How it work
  • Pricing
Links
  • Privacy Policy
  • Terms And Conditions
  • Refund Policy
Contact Us
  • info@quizplus.com
© 2020 QuizPlus. All Right Reserved