Which is/are the function(s) to check if a numeric value is finite or infinite?

62. Which is/are the function(s) to check if a numeric value is finite or infinite?

  1. is_finite()
  2. is_infinite()
  3. is_inf()
  4. Both A. and B.

Answer: D) Both A. and B.

Explanation:

The functions is_finite() and is_infinite() are used to check if a numeric value is finite or infinite.

Comments and Discussions!

Load comments ↻






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