What will be the output of the following C++ code? [code] #include <iostream> #include <algorithm> using namespace std;

Linh Chi

New member
What will be the output of the following C++ code?
Code:
    #include <iostream>
    #include <algorithm>
    using namespace std;
    int main ()
    {
        cout << min(2, 1) << ' ';
        cout << min('m','m') << '\n';
        return 0;
    }
A. Error
B. Runtime error
C. 1 m
D. 5 m
 

Tìm kiếm

Back
Top