Tuesday, July 28, 2009

All standard mathematiclal functions return what variable type in order to help reduce rounding error?

This is a question regarding C++





All standard mathematiclal functions return what variable type in order to help reduce rounding error?





a) Character


b)floating-point


c)interger


d)double

All standard mathematiclal functions return what variable type in order to help reduce rounding error?
If you do a man page on any of the standard C functions you will see that they all return double.
Reply:B even though D would work B is more general and a better answer.


No comments:

Post a Comment