Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 0d 12h 49m 21s Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

C++ Institute Exam CPA-21-02 Topic 1 Question 21 Discussion

Actual exam question for C++ Institute's CPA-21-02 exam
Question #: 21
Topic #: 1
[All CPA-21-02 Questions]

Which of the following statements are correct about an array?

int tab[10];

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Amie
27 days ago
Wait, we're talking about arrays? I thought this was a test on how to juggle chainsaws. Oops, my bad!
upvoted 0 times
...
Nickolas
1 months ago
Option B is definitely wrong. The first element in the array is tab[0], not tab[1]. Rookie mistake!
upvoted 0 times
Elly
6 days ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Layla
22 days ago
A) The array can store 10 elements.
upvoted 0 times
...
...
Venita
1 months ago
This is a tricky one, but I think the correct answer is Option D. You have to initialize the array at the time of declaration, right?
upvoted 0 times
Annabelle
24 hours ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Gwenn
2 days ago
B) The expression tab[1] designates the very first element in the array.
upvoted 0 times
...
Vernell
19 days ago
D) It is necessary to initialize the array at the time of declaration.
upvoted 0 times
...
Jacki
24 days ago
A) The array can store 10 elements.
upvoted 0 times
...
Winfred
25 days ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Crista
1 months ago
B) The expression tab[1] designates the very first element in the array.
upvoted 0 times
...
Anna
1 months ago
A) The array can store 10 elements.
upvoted 0 times
...
...
Lenna
1 months ago
I'm pretty sure Option A is the right answer. The array can store 10 elements, just like the declaration says.
upvoted 0 times
...
Elbert
2 months ago
Option C is correct. The expression tab[9] designates the last element in the array, since the index starts from 0.
upvoted 0 times
Julie
25 days ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Lorita
26 days ago
B) The expression tab[1] designates the very first element in the array.
upvoted 0 times
...
Vernell
1 months ago
A) The array can store 10 elements.
upvoted 0 times
...
...
Herschel
2 months ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Janey
2 months ago
B) The expression tab[1] designates the very first element in the array.
upvoted 0 times
...
Herschel
2 months ago
A) The array can store 10 elements.
upvoted 0 times
...

Save Cancel
a