To which type does the numeric limits are suitable?

Character types

Mixed type

Arithmetic types

None of the mentioned

Where does the member should be defined if it is used in the program?

Namespace scope

Character scope

Both a & b

None of the mentioned

What will the max function in the numeric limit will return for type float?

Maximum finite value for a float type

Maximum finite value

Minimum finite value

None of the mentioned

What is the output of this program?

`#include`

`#include`

using namespace std;

int main ()

`{`

cout << boolalpha;

cout << numeric_limits<int> :: has_infinity << '\n';

return 0;

`}`

53234

false

true

None of the mentioned

What is the output of this program?

`#include`

`#include`

using namespace std;

int main( )

`{`

cout << numeric_limits<float> :: digits10 << endl;

cout << numeric_limits<double> :: digits10 << endl;

float f = 99999999;

cout.precision ( 10 );

cout << f << endl;

`}`

6

15

100000000

All of the mentioned

What is the output of this program?

`#include`

`#include`

using namespace std;

int main( )

`{`

cout << numeric_limits<float> :: min_exponent << endl;

`}`

125

-125

123

None of the mentioned

Which header file is used for the numeric limits in C++?

<iostream>

<limits>

<number>

None of the mentioned

Pick out the incorrect static function member in numeric limits.

denorm_min

digits

infinity

max_finite

What is the output of this program?

`#include`

`#include`

using namespace std;

int main( )

`{`

cout << numeric_limits<float> :: is_exact;

cout << numeric_limits<double> :: is_exact;

cout << numeric_limits<long int> :: is_exact;

cout << numeric_limits<unsigned char> :: is_exact;

`}`

0010

0012

1100

0011