Answer:
"double tax_rates[5]= {0.10, 0.15, 0.21, 0.28, 0.31};" is the correct answer for the above question.
Explanation:
- An array is a user-defined data type that is used to define the multiple variables of a single type in a continuous storage location.
- In the C-programming language, When the user wants to declare an array he needs to define with the help of data type and size of the array with the help of the following syntax-- "Data_type variable_name [size_of_the_array];".
- When the user wants to initialize the static value in the array then he can do that by the help of following syntax: "Data_type variable_name [size_of_the_array]={first_value,second_value,....,last_value};
- The above question asked to defined the array of tax_rates name of type double with the above-defined value then he can do that with the help of above-defined syntax (which is defined in the answer part).
Answer:
The answer is "Option A".
Explanation:
The Dot matrix printer is also known as an impact matrix printer. It is a multi-part form printer because it prints data on paper. This printer uses a hammer and a ribbon printer, that shapes pictures from dots. and other options are not correct, that can be described as follows:
- In option B, daisy-wheel printer prints data on printer only one side that's it is not correct.
- In option C, the Inkjet printer is capable to print data in multi-part forms, but this printer does not data in continuous forms.
- In option D, the color printer allows you to print data in color format like images, graphs, and banner. It prints data only on one side, that's why it is not correct.
Answer:
(a) scope: function, lifetime: duration of the function
(b) scope: function, lifetime: duration of the program
(c) scope: global (all modules), lifetime: duration of the program
(d) scope: module (file), lifetime: duration of the program
If you’re using a Windows computer, the best way to transfer photos from your iPhone to your computer is via USB cable.
First, plug your phone into your computer using the phone’s USB Cable. The Photo app should launch automatically then click the Import button. Check to select the photos you wish to transfer. Once you checked all the photos you wish to transfer, click on Continue. Click Import to start the transfer.