147k views
4 votes
To assign a double variable d to a float variable x, you write ________. x = (long)d x = (int)d; x = d; x = (float)d;

User Hemen
by
8.2k points

1 Answer

6 votes
Hi,
In C,we write
x = (float)d;

User Mahorad
by
8.3k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories