mirror of
https://github.com/Manoj-HV30/dsa-competitive-programming.git
synced 2026-05-16 19:35:22 +00:00
14 lines
289 B
Markdown
14 lines
289 B
Markdown
INT_MAX, INT_MIN are called integer limit macros or more generally type limit constants.(compile-time constants)
|
|
defined in #include <climits>
|
|
|
|
Modern Alternative:
|
|
|
|
#include <limits>
|
|
|
|
numeric_limits<int>::max();
|
|
numeric_limits<int>::min();
|
|
|
|
int maxInt = std::numeric_limits<int>::max();
|
|
|
|
|