Ad
  • Default User Avatar

    what is the return type of sqrt function.Isn't it double? or it depends upon the type of argument passed.
    If is is double thn why IDE's only print int if the number is a perfect no.
    ex. sqrt(9) : 3 Why not 3.000000000000000 or 3.0 ?