Answer to Question #261072 in C++ for lobo

Question #261072

a. Partially True

b. Absolute True

c. Partially False

d. Obviously False

Choose the appropriate one from the options above.


1. bool arr[ ] ={false, ture, 0}; is a calid array declaration and initialization.


2. float arr[6] = {43, 23.23 ,423 ,123.43 ,876,23}; is a valid array declaration and initialization.


3. int arr[55] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.


4. int arr[2] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.


5. float arr[20] = {43, 23.23 ,423 ,123.43 ,876, 23}; is a valid array declaration and initialization.


6. bool truth_table[ ] ={true}; is a valid array declaration and initialization.


7. int arr[ ] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.





1
Expert's answer
2021-11-06T11:47:50-0400

1. bool arr[ ] ={false, ture, 0}; is a calid array declaration and initialization.

Partially True


2. float arr[6] = {43, 23.23 ,423 ,123.43 ,876,23}; is a valid array declaration and initialization.

 Absolute True


3. int arr[55] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.

Obviously False


4. int arr[2] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.

Obviously False


5. float arr[20] = {43, 23.23 ,423 ,123.43 ,876, 23}; is a valid array declaration and initialization.

 Absolute True


6. bool truth_table[ ] ={true}; is a valid array declaration and initialization.

 Absolute True


7. int arr[ ] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.

Obviously False

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS