subject
Engineering, 10.02.2020 22:50 Cocco

Type Casting:Assume the following declarations:int integer;double preciseReal;float sloppyReal;long biglnteger;Rewrite those of the following statements which would generate a compile-time error using an appropriate cast thatmakes the error go away. Do not provide a cast for any statement which the compiler automatically promotes. an)integer = preciseReal;b)biglnteger = sloppyReal;C)preciseReal = integer;d)sloppyReal = biglnteger; f)biglnteger = preciseReal;9)sloppyReal = integer;h)preciseReal = biglnteger;l)integer = biglnteger;J)sloppyReal = preciseReal;k)preciseReal = sloppyReal;l)biglnteger = integer;

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
question
Engineering, 04.07.2019 18:10
Apipe with an outside diameter of 15 cm is exposed to an ambient air and surrounding temperature of -20°c. the pipe has an outer surface temperature of 65°c and an emissivity of 0.85. if the rate of heat loss from the pipe surface is 0.95 kw per meter of length, the external convective heat transfer coefficient (h) is: (a) 12.5 w/m"k (b) 18.6 w/mk (c) 23.7 w/mk (d) 27.9 w/mk (e) 33.5 w/mk
Answers: 1
question
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following components of a pid controlled accumulates the error over time and responds to system error after the error has been accumulated? a)- proportional b)- derivative c)- integral d)- on/off.
Answers: 2
You know the right answer?
Type Casting:Assume the following declarations:int integer;double preciseReal;float sloppyReal;long...
Questions
question
Mathematics, 05.05.2020 18:14
question
Mathematics, 05.05.2020 18:14
question
Mathematics, 05.05.2020 18:14
Questions on the website: 13722367