CP CVDT Q55

  • Option : A
  • Explanation : The sqrt function is declared in the math.h header and calculates the square root of its argument. The standard sqrt function accepts a double and returns a double. When an integer argument is supplied, it is converted to double. A call such as sqrt((double)i) explicitly converts the integer variable i before calculating its square root.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *