Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 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
1 months ago
Wait, we're talking about arrays? I thought this was a test on how to juggle chainsaws. Oops, my bad!
upvoted 0 times
Owen
23 hours ago
A) The array can store 10 elements.
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
Yuki
9 days ago
D) It is necessary to initialize the array at the time of declaration.
upvoted 0 times
...
Elly
18 days ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Layla
1 months ago
A) The array can store 10 elements.
upvoted 0 times
...
...
Venita
2 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
Veronika
7 days ago
D) It is necessary to initialize the array at the time of declaration.
upvoted 0 times
...
Annabelle
13 days ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Gwenn
14 days ago
B) The expression tab[1] designates the very first element in the array.
upvoted 0 times
...
Vernell
1 months ago
D) It is necessary to initialize the array at the time of declaration.
upvoted 0 times
...
Jacki
1 months ago
A) The array can store 10 elements.
upvoted 0 times
...
Winfred
1 months ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Crista
2 months ago
B) The expression tab[1] designates the very first element in the array.
upvoted 0 times
...
Anna
2 months ago
A) The array can store 10 elements.
upvoted 0 times
...
...
Lenna
2 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
1 months ago
C) The expression tab[9] designates the last element in the array.
upvoted 0 times
...
Lorita
1 months ago
B) The expression tab[1] designates the very first element in the array.
upvoted 0 times
...
Vernell
2 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77