Which is/are the function(s) to check if the type of a variable is float?

61. Which is/are the function(s) to check if the type of a variable is float?

  1. is_float()
  2. is_double()
  3. is_longfloat()
  4. Both A. and B.

Answer: D) Both A. and B.

Explanation:

The functions is_float() and is_double() are used to check if the type of a variable is float.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.