πŸ“Š C#
Q. Which is the correct C# statement to convert a float value to int explicitly?
  • (A) int_variable = (int) float_variable;
  • (B) int_variable = float_variable;
  • (C) int_variable = (int) (float_variable);
  • (D) int_variable = int *float_variable);
πŸ’¬ Discuss
βœ… Correct Answer: (A) int_variable = (int) float_variable;

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
512
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
99%
Success Rate