Answer to Question #261073 in C++ for lobo

Question #261073

a. Partially True

b. Absolute True

c. Partially False

d. Obviously False


Choose the appropriate one from the options above.


1. Float arr[ ] = {123.43}; is a valid array declaration and initialization.


2. Char arr [ ] = "123.43"; is a valid array declaration and initialization.


3. bool arr [ ] = {TRUE, TRUE, FALSE}; is a valid array declaration and initialization.


4. Char arr [ ] = "123.43"; is a valid array declaration and initialization.


5. double arr [ ] = {123.43}; is a valid array declaration and initialization.


6. char arr[30] = "123.43"; is a valid array declaration and initialization.


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


8. double arr [ ] = [123.43]; is a valid array declaration and initialization.


9. Float arr [ ] = {123.43}; is a valid array declaration and initialization.


1
Expert's answer
2021-11-06T18:57:00-0400
  1.  Obviously False since Floats starts with a capital letter.
  2.  Obviously False since Char starts with a capital letter.
  3.  Obviously False
  4. Obviously False
  5.  Absolute True
  6. Absolute True
  7. Obviously False
  8. Obviously False
  9. d. 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