Which of the following explicitly converts the contents of an int variable named quantity to the double

Question:

Which of the following explicitly converts the contents of an int variable named quantity to the double data type? 

a. castToDouble(quantity) 

b. explicit_cast (quantity) 

c. static_cast (quantity) 

d. type_cast (quantity)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: