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.
8.what is the output if the user input are the numbers 12, 23, 34, 45, 56, 67, 78, 89, 90, 101?
8 The common difference of the numbers is 4 and the sum of the numbers is 404
Comments
Leave a comment