adplus-dvertising
frame-decoration

Question

What is the output of this program?
    #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.

None of the mentioned

Answer: (c).1 m

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?