Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 306 Bytes

min.md

File metadata and controls

13 lines (11 loc) · 306 Bytes

min

Description : Compares two values, returning the smallest.

Example:

    int a = 7, b = 3;
    auto smallest = std::min(a, b);
    // prints 3
    std::cout << smallest << " "; 

See Sample code Run Code