1.

What is the output of this program?
#include <iostream>
#include <limits>
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;
}

A. 1100
B. 1001
C. 0011
D. Compilation Error
E. None of these
Answer» D. Compilation Error


Discussion

No Comment Found

Related MCQs