Files
dsa-competitive-programming/leetcode/lc7/notes.md
T
papyrus 599f6e5b3e Revise notes on integer limit macros
Updated notes on integer limit macros and included modern alternatives.
2026-01-29 01:17:29 +05:30

14 lines
285 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();