Programming Languages C++ Objective
Mar 18, 2013

Which of the following type casts will convert an Integer variable named amount to a Double type?

Choose the correct answer:
A) (double) amount
B) (int to double) amount
C) int to double(amount)
D) int (amount) to double
Detailed Explanation

Option A is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback